[Cmake] executables excluded in all target

William A. Hoffman billlist at nycap.rr.com
Tue Aug 10 11:23:37 EDT 2004


Currently only custom targets can be excluded from the all target.
I don't think it would be that hard to implement what you want, so
I would suggest adding a feature request to the bug tracker.

-Bill


At 10:45 AM 8/10/2004, Felix Woelk wrote:
>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
>_______________________________________________
>Cmake mailing list
>Cmake at www.cmake.org
>http://www.cmake.org/mailman/listinfo/cmake



More information about the Cmake mailing list