[cmake-commits] king committed cmSourceFile.cxx 1.41 1.42
cmTarget.cxx 1.173 1.174
cmake-commits at cmake.org
cmake-commits at cmake.org
Tue Jan 15 10:49:24 EST 2008
Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv26812
Modified Files:
cmSourceFile.cxx cmTarget.cxx
Log Message:
ENH: Add explicit documentation entry for configuration-specific <CONFIG>_COMPILE_DEFINITIONS.
Index: cmSourceFile.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmSourceFile.cxx,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -d -r1.41 -r1.42
--- cmSourceFile.cxx 14 Jan 2008 14:20:57 -0000 1.41
+++ cmSourceFile.cxx 15 Jan 2008 15:49:22 -0000 1.42
@@ -368,6 +368,15 @@
"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.",
Index: cmTarget.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmTarget.cxx,v
retrieving revision 1.173
retrieving revision 1.174
diff -u -d -r1.173 -r1.174
--- cmTarget.cxx 14 Jan 2008 14:20:57 -0000 1.173
+++ cmTarget.cxx 15 Jan 2008 15:49:22 -0000 1.174
@@ -95,6 +95,11 @@
"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.",
"DEFINE_SYMBOL sets the name of the preprocessor symbol defined when "
More information about the Cmake-commits
mailing list