[CMake] Changing "PROJECT" level build settings in Xcode
Eric Noulard
eric.noulard at gmail.com
Mon Jan 9 06:49:09 EST 2012
2012/1/9 Daniel Dekkers <d.dekkers at cthrough.nl>:
> Hi,
>
> In Xcode, can I change build settings at "PROJECT" level via CMake?
> SET_TARGET_PROPERTIES() always seems to work on "TARGETS" level.
What kind of settings?
Properties have a scope:
- global
- directories
- target
- tests
- source files
see
cmake --help-properties
with the global ones you can use:
set_property(GLOBAL ...)
note that some properties are read-only, read the doc carefully.
--
Erk
Membre de l'April - « promouvoir et défendre le logiciel libre » -
http://www.april.org
More information about the CMake
mailing list