[CMake] removing a target from the all target
Bill Hoffman
bill.hoffman at kitware.com
Tue Oct 31 09:34:12 EST 2006
Brad King wrote:
> 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.
>
There are also now some install/fast targets that will not do the checks.
-Bill
More information about the CMake
mailing list