View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0001047 | CMake | public | 2004-08-11 03:28 | 2005-06-27 11:32 | |||||
Reporter | Felix Woelk | ||||||||
Assigned To | Ken Martin | ||||||||
Priority | low | Severity | feature | Reproducibility | always | ||||
Status | closed | Resolution | no change required | ||||||
Platform | OS | OS Version | |||||||
Product Version | |||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0001047: add executables excluded from the all target | ||||||||
Description | I would appreciate a way of adding targets (executables) to the CMakeLists.txt files in a way that the all target does not depend on them. In other words, I would like to have a way 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. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0002525) 2005-06-20 16:18 |
I believe you can do this. I haven't verified that this works but the basic approach is: ADD_EXECUTABLE(foo foo.c) SET_TARGET_PROPERTIES(foo PROPERTIES IN_ALL FALSE) Can you give this a try with a CVS CMake? It might work in 2.0.6 as well. If it works I'll add it into the docs somewhere. Thanks Ken |
(0002526) Ken Martin (developer) 2005-06-20 16:21 |
I believe you can do this already, basically ADD_EXECUTABLE(foo foo.c) SET_TARGET_PROPERTIES(foo PROPERTIES IN_ALL FALSE) Can you try this out in CMake CVS? I think it should work. It might even work with CMake 2.0.6. Thanks Ken |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |