ENH: Add explicit documentation entry for configuration-specific <CONFIG>_COMPILE_DEFINITIONS.

This commit is contained in:
Brad King 2008-01-15 10:49:22 -05:00
parent 1ab0b18ea0
commit da335fbd00
2 changed files with 14 additions and 0 deletions

View File

@ -368,6 +368,15 @@ void cmSourceFile::DefineProperties(cmake *cm)
"has improved escape support. Instead consider defining the macro "
"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
("EXTERNAL_OBJECT", cmProperty::SOURCE_FILE,
"If set to true then this is an object file.",

View File

@ -94,6 +94,11 @@ void cmTarget::DefineProperties(cmake *cm)
"has improved escape support. Instead consider defining the macro "
"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
("DEFINE_SYMBOL", cmProperty::TARGET,
"Define a symbol when compiling this target's sources.",