[cfe-dev] Is it possible to update cmake build without running cmake again? (Noob clang warning)
joubertdj at gmail.com
Mon Jan 17 22:16:17 PST 2011
I am using Clang now for some time successfully with some of our
I always use cmake as the makefile generator (build system).
I always use clang to build clang ... :) ... before I install it I do
the "make clang-test" obviously ...
The command I run is as follows:
cmake -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++
-DLLVM_BUILD_EXAMPLES=ON -DCMAKE_BUILD_TYPE=Release -DREQUIRES_RTTI=1 -G
"Unix Makefiles" ..
It is currently working very nice, but for one small little annoying
problem, this is most likely a noob problem:
I see when you do a ".configure" you can actually do a "make
update" ... and then only the changes gets compiled and iterated
But when I do the SVN update on my source, cmake complains that I have
changed some variables (even if I used the same instruction) and then
when I run "make -j4" in the build directory it starts to compile from
scratch everything (my argument is that if you guys added files, cmake
needs to be informed of the new files ... right?) ... not a
"train-smash" though ... at the pace that clang/llvm is moving I would
like to have the latest without source builds, and if possible only
build and link the changes into the already compiled objects ...
PS. Clang totally rocks ... here is hoping that emacs and vim aren't the
the two only editors that will be using its "other" features ...
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-dev