[Cmake-commits] CMake branch, next, updated. v2.8.12-4159-gcdec459

Stephen Kelly steveire at gmail.com
Fri Oct 18 13:24:18 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  cdec459ad8de5a657d0058e801503748a3612fd3 (commit)
       via  faa930cfcddfc9b5adc236807071f48c5d2728aa (commit)
      from  b213e41404043ff6985a2dc9aa709f3361b3090c (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=cdec459ad8de5a657d0058e801503748a3612fd3
commit cdec459ad8de5a657d0058e801503748a3612fd3
Merge: b213e41 faa930c
Author:     Stephen Kelly <steveire at gmail.com>
AuthorDate: Fri Oct 18 13:24:08 2013 -0400
Commit:     CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Fri Oct 18 13:24:08 2013 -0400

    Merge topic 'policies-generic-docs' into next
    
    faa930c Add generic documentation for policies.


http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=faa930cfcddfc9b5adc236807071f48c5d2728aa
commit faa930cfcddfc9b5adc236807071f48c5d2728aa
Author:     Stephen Kelly <steveire at gmail.com>
AuthorDate: Fri Oct 18 19:22:09 2013 +0200
Commit:     Stephen Kelly <steveire at gmail.com>
CommitDate: Fri Oct 18 19:22:09 2013 +0200

    Add generic documentation for policies.

diff --git a/Help/manual/cmake-policies.7.rst b/Help/manual/cmake-policies.7.rst
index 658620f..e3353cd 100644
--- a/Help/manual/cmake-policies.7.rst
+++ b/Help/manual/cmake-policies.7.rst
@@ -1,6 +1,23 @@
 cmake-policies(7)
 *****************
 
+Policies in CMake are used to preserve backward compatible behavior
+across multiple releases.  When a new policy is introduced, newer CMake
+versions will begin to warn about the backward compatible behavior.  It
+is possible to disable the warning by explicitly requesting the OLD, or
+backward compatible behavior using the cmake_policy() command.  It is
+also possible to request NEW, or non-backward compatible behavior for a
+policy, also avoiding the warning.
+
+The 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 NEW
+behavior.
+
+The CMAKE_MINIMUM_REQUIRED_VERSION variable may also be used to
+determine whether to report an error on use of deprecated macros or
+functions.
+
 .. only:: html or latex
 
    .. contents::

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

Summary of changes:
 Help/manual/cmake-policies.7.rst |   17 +++++++++++++++++
 1 files changed, 17 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
CMake


More information about the Cmake-commits mailing list