summaryrefslogtreecommitdiffstats
path: root/Source/cmTarget.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2008-01-16 02:02:00 (GMT)
committerBrad King <brad.king@kitware.com>2008-01-16 02:02:00 (GMT)
commit80c2be45e0b1701406e3739bb8a0a8fcad949f69 (patch)
tree1a26958f6aa3fe9c11349b532486b5523123a6fd /Source/cmTarget.cxx
parent8e5e423f78f665d5789679063f0a6cc560da1bd5 (diff)
downloadCMake-80c2be45e0b1701406e3739bb8a0a8fcad949f69.zip
CMake-80c2be45e0b1701406e3739bb8a0a8fcad949f69.tar.gz
CMake-80c2be45e0b1701406e3739bb8a0a8fcad949f69.tar.bz2
ENH: Renamed <CONFIG>_COMPILE_DEFINITIONS to COMPILE_DEFINITIONS_<CONFIG> for better documentation clarity.
Diffstat (limited to 'Source/cmTarget.cxx')
-rw-r--r--Source/cmTarget.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx
index eaf8f70..981ba3f 100644
--- a/Source/cmTarget.cxx
+++ b/Source/cmTarget.cxx
@@ -72,15 +72,15 @@ void cmTarget::DefineProperties(cmake *cm)
cm->DefineProperty
("COMPILE_DEFINITIONS", cmProperty::TARGET,
- "Preprocessor definitions for compiling this target's sources.",
+ "Preprocessor definitions for compiling a target's sources.",
"The COMPILE_DEFINITIONS property may be set to a list of preprocessor "
"definitions using the syntax VAR or VAR=value. Function-style "
"definitions are not supported. CMake will automatically escape "
"the value correctly for the native build system (note that CMake "
"language syntax may require escapes to specify some values). "
"This property may be set on a per-configuration basis using the name "
- "<CONFIG>_COMPILE_DEFINITIONS where <CONFIG> is an upper-case name "
- "(ex. \"DEBUG_COMPILE_DEFINITIONS\").\n"
+ "COMPILE_DEFINITIONS_<CONFIG> where <CONFIG> is an upper-case name "
+ "(ex. \"COMPILE_DEFINITIONS_DEBUG\").\n"
"CMake will automatically drop some definitions that "
"are not supported by the native build tool. "
"The VS6 IDE does not support definitions with values "
@@ -95,7 +95,7 @@ void cmTarget::DefineProperties(cmake *cm)
"in a (configured) header file. Then report the limitation.");
cm->DefineProperty
- ("<CONFIG>_COMPILE_DEFINITIONS", cmProperty::TARGET,
+ ("COMPILE_DEFINITIONS_<CONFIG>", cmProperty::TARGET,
"Per-configuration preprocessor definitions on a target.",
"This is the configuration-specific version of COMPILE_DEFINITIONS.");