Hi Johan,
I just gave it a try, but cmake fails with the following error:
==> [...] -- Generating header and sourcefiles from sp-marshal.list (Glib-Marshal) -- sp-marshal.h changed; overwriting -- Configuring done CMake Error at CMakeScripts/HelperMacros.cmake:32 (add_library): Cannot find source file:
/home/albert/code/tmp/inkscape/src/dialogs/spellcheck.cpp
Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp .hxx .in .txx Call Stack (most recent call first): src/CMakeLists.txt:572 (add_inkscape_lib)
-- Build files have been written to: /home/albert/code/tmp/inkscape_build <==
Any suggestions?
Cheers, Max
P.S.: Initially I got an error because I had an old version (2.8.2) which doesn't recognise the CMAKE_CURRENT_LIST_DIR variable (see [1]), as I'm still on Ubuntu 11.04. I could work around it by compiling and installing the latest CMake version (2.8.7) from source, but it might be worth taking into account that some operating systems still have versions that don't honour this variable.
[1] http://www.cmake.org/Bug/print_bug_page.php?bug_id=11675