[Cmake-commits] CMake branch, next, updated. v3.0.2-2093-g4edcc53

Stephen Kelly steveire at gmail.com
Mon Oct 20 16:26:09 EDT 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  4edcc532b3a326a6a673d3631440ed8079bf662b (commit)
       via  cd4fa896b1d11c26edf07bae19d262c971901827 (commit)
      from  a50fcebe895525035bd7ad8eccf1be2a3facde00 (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=4edcc532b3a326a6a673d3631440ed8079bf662b
commit 4edcc532b3a326a6a673d3631440ed8079bf662b
Merge: a50fceb cd4fa89
Author:     Stephen Kelly <steveire at gmail.com>
AuthorDate: Mon Oct 20 16:26:09 2014 -0400
Commit:     CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Mon Oct 20 16:26:09 2014 -0400

    Merge topic 'doc-policy-usage' into next
    
    cd4fa896 Help: Document that policies are not feature toggles.


http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=cd4fa896b1d11c26edf07bae19d262c971901827
commit cd4fa896b1d11c26edf07bae19d262c971901827
Author:     Stephen Kelly <steveire at gmail.com>
AuthorDate: Mon Oct 20 22:20:42 2014 +0200
Commit:     Stephen Kelly <steveire at gmail.com>
CommitDate: Mon Oct 20 22:21:57 2014 +0200

    Help: Document that policies are not feature toggles.

diff --git a/Help/manual/cmake-policies.7.rst b/Help/manual/cmake-policies.7.rst
index f1717a0..8edf708 100644
--- a/Help/manual/cmake-policies.7.rst
+++ b/Help/manual/cmake-policies.7.rst
@@ -20,6 +20,12 @@ for a policy, also avoiding the warning.  Each policy can also be set to
 either ``NEW`` or ``OLD`` behavior explicitly on the command line with the
 :variable:`CMAKE_POLICY_DEFAULT_CMP<NNNN>` variable.
 
+Note that policies are not reliable feature toggles.  A policy should
+almost never be set to ``OLD``, except to silence warnings in an otherwise
+frozen or stable codebase, or temporarily as part of a larger migration
+path. The ``OLD`` behavior of each policy is undesirable and will be
+replaced with an error condition in a future release.
+
 The :command:`cmake_minimum_required` command does more than report an
 error if a too-old version of CMake is used to build a project.  It
 also sets all policies introduced in that CMake version or earlier to

-----------------------------------------------------------------------

Summary of changes:
 Help/manual/cmake-policies.7.rst |    6 ++++++
 1 file changed, 6 insertions(+)


hooks/post-receive
-- 
CMake


More information about the Cmake-commits mailing list