[Cmake-commits] CMake branch, next, updated. v2.8.12-4165-g117ba09
Brad King
brad.king at kitware.com
Fri Oct 18 14:24:14 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 117ba09f1076ea0a1c48e4cbbb46c4960b3367b6 (commit)
via 6d50d0197a50680466c075feeda338b3b9418e05 (commit)
from ec54881c0da7c775304a5ac22a67f165360fe240 (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=117ba09f1076ea0a1c48e4cbbb46c4960b3367b6
commit 117ba09f1076ea0a1c48e4cbbb46c4960b3367b6
Merge: ec54881 6d50d01
Author: Brad King <brad.king at kitware.com>
AuthorDate: Fri Oct 18 14:24:09 2013 -0400
Commit: CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Fri Oct 18 14:24:09 2013 -0400
Merge topic 'policies-generic-docs' into next
6d50d01 Help: Add introduction section to cmake-policies manual
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=6d50d0197a50680466c075feeda338b3b9418e05
commit 6d50d0197a50680466c075feeda338b3b9418e05
Author: Stephen Kelly <steveire at gmail.com>
AuthorDate: Fri Oct 18 19:22:09 2013 +0200
Commit: Brad King <brad.king at kitware.com>
CommitDate: Fri Oct 18 14:23:28 2013 -0400
Help: Add introduction section to cmake-policies manual
Explain the concept behind policies.
diff --git a/Help/manual/cmake-policies.7.rst b/Help/manual/cmake-policies.7.rst
index 658620f..4fcc90b 100644
--- a/Help/manual/cmake-policies.7.rst
+++ b/Help/manual/cmake-policies.7.rst
@@ -5,6 +5,26 @@ cmake-policies(7)
.. contents::
+Introduction
+============
+
+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 :command:`cmake_policy` command.
+It is also possible to request NEW, or non-backward compatible behavior
+for a policy, also avoiding the warning.
+
+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
+NEW behavior.
+
+The :variable:`CMAKE_MINIMUM_REQUIRED_VERSION` variable may also be used
+to determine whether to report an error on use of deprecated macros or
+functions.
+
All Policies
============
-----------------------------------------------------------------------
Summary of changes:
hooks/post-receive
--
CMake
More information about the Cmake-commits
mailing list