[CMake] removing a target from the all target

Axel Roebel Axel.Roebel at ircam.fr
Tue Oct 31 10:04:54 EST 2006


On Tuesday 31 October 2006 15:34, Bill Hoffman wrote:
> 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)

That was what I thought should exist.

So the future is very shiny.

> > and similarly for libraries.
>
> There are also now some install/fast targets that will not do the checks.

So I'll use this for the time being.

Thank's a lot for the infos, 
AND for the great tool!

Axel

> -Bill

-- 
Axel Roebel    
IRCAM Analysis/Synthesis Team
Phone: ++33-1-4478 4845 | Fax: ++33-1-4478 1540


More information about the CMake mailing list