[CMake] removing a target from the all target

2006-10-31 Thread Axel Roebel
Hello, I have a number of libraries and executable targets in my project where only the executable targets are commonly used for installation. The libraries implement the same code as the executables and will be used only under very specific conditions. Unfortunately cmake creates makefiles that

Re: [CMake] removing a target from the all target

2006-10-31 Thread Axel Roebel
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. > > > >

Re: [CMake] removing a target from the all target

2006-10-31 Thread Bill Hoffman
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_EXECU

Re: [CMake] removing a target from the all target

2006-10-31 Thread Brad King
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_