diff options
author | Brad King <brad.king@kitware.com> | 2015-06-09 14:29:38 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2015-06-09 14:29:38 (GMT) |
commit | ab660b8d223ee3a2753cfe2dc38969f02cf13593 (patch) | |
tree | 846425c0c1bce5eb54ceca6e3b0d728094988cfc /Help/manual | |
parent | 223e2ec28dab4360f573932dfc0991744ddc0918 (diff) | |
parent | 482a3bf3f0b0d3cc1835666e570d8f65a0342ee7 (diff) | |
download | CMake-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.rst | 10 |
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 |