Hello all, Does the cmake build work well on Linux? I wonder if parallel builds work with it. For lib2geom, which uses cmake, parallel building does not work.
If it works for Inkscape, we can try to compare and see where things go wrong for lib2geom...
Thanks, Johan
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
W dniu 4 marca 2012 23:14 użytkownik Johan Engelen <jbc.engelen@...2592...> napisał:
Hello all, Does the cmake build work well on Linux? I wonder if parallel builds work with it. For lib2geom, which uses cmake, parallel building does not work.
Digression: why are so many people using CMake? My experiences with it are rather unimpressive. The scripting language is a cruel joke and coding anything moderately complex in it is about as enjoyable as contracting swine flu.
Regards, Krzysztof
On 4-3-2012 23:14, Johan Engelen wrote:
Hello all, Does the cmake build work well on Linux? I wonder if parallel builds work with it. For lib2geom, which uses cmake, parallel building does not work.
I have to correct this. Parallel building with cmake does work for lib2geom, it's just that, for me on Windows, "make -j 4" does not work, but "make -j" does and compiles fast.
Sorry for the mistake, Johan
participants (3)
-
Johan Engelen
-
Krzysztof Kosiński
-
Maximilian Albert