[CMake] CMake 2.2 dependency check skip

Moreland, Kenneth kmorel at sandia.gov
Wed Oct 19 12:42:24 EDT 2005


The Makefile2 file is only at the top level.  I would really like to skip the dependency check when compiling one of the subdirectories (e.g. ParaView/Server/Filters).
 
-Ken

________________________________

From: Ken Martin [mailto:ken.martin at kitware.com]
Sent: Tue 10/18/2005 2:32 PM
To: Moreland, Kenneth; cmake at cmake.org
Subject: RE: [CMake] CMake 2.2 dependency check skip



> With CMake 2.0 I would often run "make all" instead of just "make".
> When running "make all", the build system would skip any dependency
> checking and just compile whatever changed based on whatever
> dependencies are known.  Whether intentional or not, I used this feature
> frequently when compiling small changes in big projects such as ParaView
> (a mode I am in often) since the dependency checking can take up to half
> a minute.
>
> I notice that the makefiles built by CMake 2.2 now also do dependency
> checking when "make all" is run.  Is there a target I can use to skip
> the dependency checking?

There isn't a convenience target for doing this but I believe the following
will do what you want

make -f CMakeFiles/Makefile2


Ken




-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/cmake/attachments/20051019/38894ae3/attachment.htm


More information about the CMake mailing list