[CMake] Excluding ALL_BUILD and ZERO_CHECK

Bill Hoffman bill.hoffman at kitware.com
Mon Oct 8 11:32:38 EDT 2007


Paul Dean wrote:
> Is it possible to exclude ALL_BUILD and ZERO_CHECK for the project?
> ------------------------------------------------------------------------
It is technically possible to remove ALL_BUILD by hacking the c++.   It 
is not possible to
remove ZERO_CHECK as it provides functionality that is required for 
builds with complex
source file generation rules.   ALL_BUILD is useful because it builds 
all the targets
that are part of all in the makefiles.  If you have custom targets like 
PACKAGE or
Experimental, and you run the visual studio build from the menu, it will 
build all that
stuff as well.  So, to build a cmake project you should right click on 
ALL_BUILD,
and build it. 

-Bill



More information about the CMake mailing list