diff options
author | Brad King <brad.king@kitware.com> | 2009-06-24 13:36:29 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2009-06-24 13:36:29 (GMT) |
commit | f74b876a58defcbdf64a9fa96d1a4ba37163fba8 (patch) | |
tree | 6afaa46287e124ce5a8f0fc6da1d10a11f868465 /Source | |
parent | 340b175852d13ed1cc9c7606976c25513271ba9f (diff) | |
download | CMake-f74b876a58defcbdf64a9fa96d1a4ba37163fba8.zip CMake-f74b876a58defcbdf64a9fa96d1a4ba37163fba8.tar.gz CMake-f74b876a58defcbdf64a9fa96d1a4ba37163fba8.tar.bz2 |
ENH: Clarify COMPILE_DEFINITIONS separator in docs
The COMPILE_DEFINITIONS properties are semicolon-separated lists.
Make this clear in the documentation. See issue #9199.
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmMakefile.cxx | 3 | ||||
-rw-r--r-- | Source/cmSourceFile.cxx | 3 | ||||
-rw-r--r-- | Source/cmTarget.cxx | 3 |
3 files changed, 6 insertions, 3 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx index 57904b4..bee1adc 100644 --- a/Source/cmMakefile.cxx +++ b/Source/cmMakefile.cxx @@ -3455,7 +3455,8 @@ void cmMakefile::DefineProperties(cmake *cm) cm->DefineProperty ("COMPILE_DEFINITIONS", cmProperty::DIRECTORY, "Preprocessor definitions for compiling a directory's sources.", - "The COMPILE_DEFINITIONS property may be set to a list of preprocessor " + "The COMPILE_DEFINITIONS property may be set to a " + "semicolon-separated 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 " diff --git a/Source/cmSourceFile.cxx b/Source/cmSourceFile.cxx index cb7777c..02b0bf4 100644 --- a/Source/cmSourceFile.cxx +++ b/Source/cmSourceFile.cxx @@ -395,7 +395,8 @@ void cmSourceFile::DefineProperties(cmake *cm) cm->DefineProperty ("COMPILE_DEFINITIONS", cmProperty::SOURCE_FILE, "Preprocessor definitions for compiling a source file.", - "The COMPILE_DEFINITIONS property may be set to a list of preprocessor " + "The COMPILE_DEFINITIONS property may be set to a " + "semicolon-separated 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 " diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx index cea61f6..9e2b8ff 100644 --- a/Source/cmTarget.cxx +++ b/Source/cmTarget.cxx @@ -87,7 +87,8 @@ void cmTarget::DefineProperties(cmake *cm) cm->DefineProperty ("COMPILE_DEFINITIONS", cmProperty::TARGET, "Preprocessor definitions for compiling a target's sources.", - "The COMPILE_DEFINITIONS property may be set to a list of preprocessor " + "The COMPILE_DEFINITIONS property may be set to a " + "semicolon-separated 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 " |