summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-10-15 13:32:48 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2013-10-15 13:32:48 (GMT)
commit34f66ae21b5d90588165a4b76d3e47afb989e0e5 (patch)
treefcd282c2dc6cbcbfcffc1d85d348ffc91a7a3ac7 /Source
parent06491955ebe566e025b25abaa91977824811e282 (diff)
parent3507d5afdda882cd3ec80dd4da33f63025ae936b (diff)
downloadCMake-34f66ae21b5d90588165a4b76d3e47afb989e0e5.zip
CMake-34f66ae21b5d90588165a4b76d3e47afb989e0e5.tar.gz
CMake-34f66ae21b5d90588165a4b76d3e47afb989e0e5.tar.bz2
Merge topic 'deprecate-COMPILE_FLAGS'
3507d5a Deprecate COMPILE_FLAGS target property.
Diffstat (limited to 'Source')
-rw-r--r--Source/cmTarget.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx
index 1c04e4e..a1d9889 100644
--- a/Source/cmTarget.cxx
+++ b/Source/cmTarget.cxx
@@ -273,7 +273,10 @@ void cmTarget::DefineProperties(cmake *cm)
"Additional flags to use when compiling this target's sources.",
"The COMPILE_FLAGS property sets additional compiler flags used "
"to build sources within the target. Use COMPILE_DEFINITIONS "
- "to pass additional preprocessor definitions.");
+ "to pass additional preprocessor definitions."
+ "\n"
+ "This property is deprecated. Use the COMPILE_OPTIONS property or the "
+ "target_compile_options command instead.");
cm->DefineProperty
("COMPILE_DEFINITIONS", cmProperty::TARGET,