ENH: Add explicit documentation entry for configuration-specific <CONFIG>_COMPILE_DEFINITIONS.
This commit is contained in:
parent
1ab0b18ea0
commit
da335fbd00
@ -368,6 +368,15 @@ void cmSourceFile::DefineProperties(cmake *cm)
|
|||||||
"has improved escape support. Instead consider defining the macro "
|
"has improved escape support. Instead consider defining the macro "
|
||||||
"in a (configured) header file. Then report the limitation.");
|
"in a (configured) header file. Then report the limitation.");
|
||||||
|
|
||||||
|
|
||||||
|
cm->DefineProperty
|
||||||
|
("<CONFIG>_COMPILE_DEFINITIONS", cmProperty::SOURCE_FILE,
|
||||||
|
"Per-configuration preprocessor definitions on a source file.",
|
||||||
|
"This is the configuration-specific version of "
|
||||||
|
"COMPILE_DEFINITIONS. Note that Xcode does not support "
|
||||||
|
"per-configuration source file flags so this property will "
|
||||||
|
"be ignored by the Xcode generator.");
|
||||||
|
|
||||||
cm->DefineProperty
|
cm->DefineProperty
|
||||||
("EXTERNAL_OBJECT", cmProperty::SOURCE_FILE,
|
("EXTERNAL_OBJECT", cmProperty::SOURCE_FILE,
|
||||||
"If set to true then this is an object file.",
|
"If set to true then this is an object file.",
|
||||||
|
@ -94,6 +94,11 @@ void cmTarget::DefineProperties(cmake *cm)
|
|||||||
"has improved escape support. Instead consider defining the macro "
|
"has improved escape support. Instead consider defining the macro "
|
||||||
"in a (configured) header file. Then report the limitation.");
|
"in a (configured) header file. Then report the limitation.");
|
||||||
|
|
||||||
|
cm->DefineProperty
|
||||||
|
("<CONFIG>_COMPILE_DEFINITIONS", cmProperty::TARGET,
|
||||||
|
"Per-configuration preprocessor definitions on a target.",
|
||||||
|
"This is the configuration-specific version of COMPILE_DEFINITIONS.");
|
||||||
|
|
||||||
cm->DefineProperty
|
cm->DefineProperty
|
||||||
("DEFINE_SYMBOL", cmProperty::TARGET,
|
("DEFINE_SYMBOL", cmProperty::TARGET,
|
||||||
"Define a symbol when compiling this target's sources.",
|
"Define a symbol when compiling this target's sources.",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user