summaryrefslogtreecommitdiffstats
path: root/Help/manual
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-06-09 14:29:38 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2015-06-09 14:29:38 (GMT)
commitab660b8d223ee3a2753cfe2dc38969f02cf13593 (patch)
tree846425c0c1bce5eb54ceca6e3b0d728094988cfc /Help/manual
parent223e2ec28dab4360f573932dfc0991744ddc0918 (diff)
parent482a3bf3f0b0d3cc1835666e570d8f65a0342ee7 (diff)
downloadCMake-ab660b8d223ee3a2753cfe2dc38969f02cf13593.zip
CMake-ab660b8d223ee3a2753cfe2dc38969f02cf13593.tar.gz
CMake-ab660b8d223ee3a2753cfe2dc38969f02cf13593.tar.bz2
Merge topic 'doc-policy-OLD-deprecated'
482a3bf3 Help: Document explicitly that policy OLD behavior is deprecated
Diffstat (limited to 'Help/manual')
-rw-r--r--Help/manual/cmake-policies.7.rst10
1 files changed, 5 insertions, 5 deletions
diff --git a/Help/manual/cmake-policies.7.rst b/Help/manual/cmake-policies.7.rst
index c5970bb..0a313cd 100644
--- a/Help/manual/cmake-policies.7.rst
+++ b/Help/manual/cmake-policies.7.rst
@@ -20,11 +20,11 @@ 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.
+A policy is a deprecation mechanism and not a reliable feature toggle.
+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