From f74b876a58defcbdf64a9fa96d1a4ba37163fba8 Mon Sep 17 00:00:00 2001 From: Brad King Date: Wed, 24 Jun 2009 09:36:29 -0400 Subject: ENH: Clarify COMPILE_DEFINITIONS separator in docs The COMPILE_DEFINITIONS properties are semicolon-separated lists. Make this clear in the documentation. See issue #9199. --- Source/cmMakefile.cxx | 3 ++- Source/cmSourceFile.cxx | 3 ++- 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 " -- cgit v0.12