[Cmake-commits] CMake branch, next, updated. v2.8.12-3796-gd0c3d9a
Stephen Kelly
steveire at gmail.com
Fri Oct 11 07:41:34 EDT 2013
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMake".
The branch, next has been updated
via d0c3d9aa946837bb9a5a06aaf88bfc42a40924bd (commit)
via 3507d5afdda882cd3ec80dd4da33f63025ae936b (commit)
via 2a96e374fc83325d01e7ee07801c0e1a45779129 (commit)
from c748d415bb43d32c9a0f91f9a53353b95caa4cbe (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=d0c3d9aa946837bb9a5a06aaf88bfc42a40924bd
commit d0c3d9aa946837bb9a5a06aaf88bfc42a40924bd
Merge: c748d41 3507d5a
Author: Stephen Kelly <steveire at gmail.com>
AuthorDate: Fri Oct 11 07:41:30 2013 -0400
Commit: CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Fri Oct 11 07:41:30 2013 -0400
Merge topic 'deprecate-COMPILE_FLAGS' into next
3507d5a Deprecate COMPILE_FLAGS target property.
2a96e37 CMake Nightly Date Stamp
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=3507d5afdda882cd3ec80dd4da33f63025ae936b
commit 3507d5afdda882cd3ec80dd4da33f63025ae936b
Author: Stephen Kelly <steveire at gmail.com>
AuthorDate: Fri Oct 11 13:39:02 2013 +0200
Commit: Stephen Kelly <steveire at gmail.com>
CommitDate: Fri Oct 11 13:40:29 2013 +0200
Deprecate COMPILE_FLAGS target property.
It is succeeded by COMPILE_OPTIONS, which supports generator
expressions, is a list rather than a string, and is properly
escaped.
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,
-----------------------------------------------------------------------
Summary of changes:
Source/CMakeVersion.cmake | 2 +-
Source/cmTarget.cxx | 5 ++++-
2 files changed, 5 insertions(+), 2 deletions(-)
hooks/post-receive
--
CMake
More information about the Cmake-commits
mailing list