summaryrefslogtreecommitdiff
path: root/Help/policy/CMP0015.rst
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-06-09 09:29:41 -0400
committerBrad King <brad.king@kitware.com>2015-06-09 09:29:41 -0400
commit482a3bf3f0b0d3cc1835666e570d8f65a0342ee7 (patch)
treeda6475426b65c78fe1da76697cb5f9d340111727 /Help/policy/CMP0015.rst
parenta6916a6c6e397bda8b381f65dbfc59d3c52f8525 (diff)
downloadcmake-482a3bf3f0b0d3cc1835666e570d8f65a0342ee7.tar.gz
Help: Document explicitly that policy OLD behavior is deprecated
The most likely documentation page a project author will read in response to a policy warning is the page for the policy itself. Add to every policy documentation page a note explicitly stating that the OLD behavior is deprecated. Also mention this in the cmake_policy() command documentation that explains how to set a policy to OLD. Suggested-by: Fraser Hutchison <fraser.hutchison@gmail.com>
Diffstat (limited to 'Help/policy/CMP0015.rst')
-rw-r--r--Help/policy/CMP0015.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Help/policy/CMP0015.rst b/Help/policy/CMP0015.rst
index 1b549790a6..9a48e3dac7 100644
--- a/Help/policy/CMP0015.rst
+++ b/Help/policy/CMP0015.rst
@@ -15,3 +15,5 @@ paths by appending the relative path to CMAKE_CURRENT_SOURCE_DIR.
This policy was introduced in CMake version 2.8.1. CMake version
|release| warns when the policy is not set and uses OLD behavior. Use
the cmake_policy command to set it to OLD or NEW explicitly.
+
+.. include:: DEPRECATED.txt