[CMake] What about...

James Mansion james at wgold.demon.co.uk
Sun May 28 09:39:41 EDT 2006


>When I change a couple of header files I suddenly see it reconfiguring for 
>no apparent reason.

Is the generated makefile thinking that there is a change in
CMakeLists.txt somewhere?  Surely cmake is actually out of the
picture unless you tell it to rebuild the makefiles?

>Its when I type 'make' it takes upto a minute before it actually starts 
>with the first gcc, even if I typed make moments before. (I just typed 
>'make | less' this time).

That looks like make's performance problem doesn't it?  I seem to remember
that the gcj team found a pathological case and had a fix for it.  When
I started to use bjam I was initially disturbed by the 'thinking' time
at the start, but if you really want to model all the header dependencies
of a big project then it seems somewhat unavoidable.

Can I ask - you seem to be using command -line CMake only.  Is there a
reason why not to use one of the GUI apps that allow the user to specify
the options etc?





More information about the CMake mailing list