summaryrefslogtreecommitdiffstats
path: root/Source/cmSourceFile.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2008-01-15 15:49:22 (GMT)
committerBrad King <brad.king@kitware.com>2008-01-15 15:49:22 (GMT)
commitda335fbd00462b3e6dbaece2ca34328262ed7614 (patch)
treefd99e3c708f7f90d8f33d9514929c882f4c1981a /Source/cmSourceFile.cxx
parent1ab0b18ea0745617e3bbf2c53259ee0bdf8ebffd (diff)
downloadCMake-da335fbd00462b3e6dbaece2ca34328262ed7614.zip
CMake-da335fbd00462b3e6dbaece2ca34328262ed7614.tar.gz
CMake-da335fbd00462b3e6dbaece2ca34328262ed7614.tar.bz2
ENH: Add explicit documentation entry for configuration-specific <CONFIG>_COMPILE_DEFINITIONS.
Diffstat (limited to 'Source/cmSourceFile.cxx')
-rw-r--r--Source/cmSourceFile.cxx9
1 files changed, 9 insertions, 0 deletions
diff --git a/Source/cmSourceFile.cxx b/Source/cmSourceFile.cxx
index c902111..8905b0c 100644
--- a/Source/cmSourceFile.cxx
+++ b/Source/cmSourceFile.cxx
@@ -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.",