[Cmake] executables excluded in all target

Felix Woelk woelk at mip.informatik.uni-kiel.de
Tue Aug 10 10:45:01 EDT 2004


Hi,

is there a way to add targets (executables) to the CMakeLists.txt files in a way 
that the all target does not depend on them?
In other words, I like to add an executable foo which is *only* build if I issue 
`make foo` and *not* if a simple `make` or `make all` is issued.

I am currently working under linux with cmake 2.0.3.

Cheers
	Felix

-- 
Dipl.-Phys. Felix Woelk
Multimedia Information Processing
email: woelk at mip.informatik.uni-kiel.de
phone: +49 (0)431 880-4470, fax: +49 (0)431 880-4054

Christian-Albrechts-University Kiel
Institute of Computer Science and Applied Mathematics
Hermann-Rodewald-Str. 3
D-24098 Kiel, Germany


More information about the Cmake mailing list