[CMake] removing a target from the all target
Brad King
brad.king at kitware.com
Tue Oct 31 09:25:07 EST 2006
Axel Roebel wrote:
> I wonder whether anybody
> sees a simpler solution to the problem, like a simple target property
> that will remove the traget from the list of targets linked
> to the "all" target.
In CMake from CVS and in the upcoming 2.4.4 release you can do
ADD_EXECUTABLE(myexe EXCLUDE_FROM_ALL myexe.c)
and similarly for libraries.
-Brad
More information about the CMake
mailing list