[CMake] a dependency nag/bug

William A. Hoffman billlist at nycap.rr.com
Tue Jul 11 09:39:13 EDT 2006


At 09:32 AM 7/11/2006, Casper Boemann wrote:
>On Tuesday 11 July 2006 15:20, you wrote:
>
>> >
>> You can do this:
>>
>> make target/fast
>>
>> Where target is the name of the library or executable that has the .h file
>> you are working on.  It will only build that target.  Once you get the .h
>> file working, you can run make and build everything else.  Currently in
>> CMake 2.4.2 the /fast targets are only in the toplevel makefile.
>>
>> -Bill
>Thanks, but ofcourse that doesn't help me right now :(

Why does this not help?


>oh and if it's only a subdir (with a CMakefile.txt) what do i write as the 
>target?

There must be a target in the CMakeLists.txt file at some point.

>Furthermore could it be made so that the default target in subdirs are fast 
>and that you'd have to write something special (like /slow) to make it like 
>today.
That is in the works.  

>And does anyone know if  /fast will make it into sublevel makefiles soon? ( I 
>can't wait and I'm willing to use svn/cvs)

If you use cvs CMake it is there now.

-Bill



More information about the CMake mailing list