[Cmake-commits] CMake branch, next, updated. v2.8.12.2-7681-g2878ad6
Brad King
brad.king at kitware.com
Wed Feb 12 11:28:05 EST 2014
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 2878ad6dae21d26940615b893508cea4426925cc (commit)
via ddd0db99095342e19375196a0c2824fd2357340c (commit)
from 46c28dbc0be50e10c6d39b5066752eb9a0651949 (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=2878ad6dae21d26940615b893508cea4426925cc
commit 2878ad6dae21d26940615b893508cea4426925cc
Merge: 46c28db ddd0db9
Author: Brad King <brad.king at kitware.com>
AuthorDate: Wed Feb 12 11:28:04 2014 -0500
Commit: CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Wed Feb 12 11:28:04 2014 -0500
Merge topic 'backward-compatibility' into next
ddd0db99 Help: Fix wording of CMP0049 and CMP0050 release notes
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=ddd0db99095342e19375196a0c2824fd2357340c
commit ddd0db99095342e19375196a0c2824fd2357340c
Author: Brad King <brad.king at kitware.com>
AuthorDate: Wed Feb 12 11:27:02 2014 -0500
Commit: Brad King <brad.king at kitware.com>
CommitDate: Wed Feb 12 11:27:19 2014 -0500
Help: Fix wording of CMP0049 and CMP0050 release notes
Also tweak description of policy CMP0049 to clarify that source
lists were not expanded, just variables in individual source names.
diff --git a/Help/policy/CMP0049.rst b/Help/policy/CMP0049.rst
index 17fede3..5c8d4a8 100644
--- a/Help/policy/CMP0049.rst
+++ b/Help/policy/CMP0049.rst
@@ -3,13 +3,13 @@ CMP0049
Do not expand variables in target source entries.
-CMake 2.8.12 and lower expanded variables which were escaped in CMake code to
-bypass initial expansion by the CMake language:
+CMake 2.8.12 and lower performed and extra layer of variable expansion
+when evaluating source file names:
.. code-block:: cmake
- set(sources foo.c)
- add_executable(foo \${sources})
+ set(a_source foo.c)
+ add_executable(foo \${a_source})
This was undocumented behavior.
diff --git a/Help/release/3.0.rst b/Help/release/3.0.rst
index 5402067..45f7635 100644
--- a/Help/release/3.0.rst
+++ b/Help/release/3.0.rst
@@ -324,10 +324,11 @@ New Diagnostics
* Target sources specified with the :command:`add_library` or
:command:`add_executable` command learned to reject items which
- require variable expansion. See policy :policy:`CMP0049`.
+ require an undocumented extra layer of variable expansion.
+ See policy :policy:`CMP0049`.
-* Use of :command:`add_custom_command` legacy SOURCE signatures now
- results in an error. See policy :policy:`CMP0050`.
+* Use of :command:`add_custom_command` undocumented ``SOURCE``
+ signatures now results in an error. See policy :policy:`CMP0050`.
Deprecated and Removed Features
===============================
-----------------------------------------------------------------------
Summary of changes:
Help/policy/CMP0049.rst | 8 ++++----
Help/release/3.0.rst | 7 ++++---
2 files changed, 8 insertions(+), 7 deletions(-)
hooks/post-receive
--
CMake
More information about the Cmake-commits
mailing list