summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-10-21 17:12:18 (GMT)
committerBrad King <brad.king@kitware.com>2013-10-22 13:09:53 (GMT)
commit6c9194488aa5d61774ffeb40f54149ce2255f00c (patch)
treefc1200e03d64e3a83893de34814d3c244cfb6d54 /Help
parent3969bb23aafcdbd2174649e8eeb8f7b0e7ea6c4c (diff)
downloadCMake-6c9194488aa5d61774ffeb40f54149ce2255f00c.zip
CMake-6c9194488aa5d61774ffeb40f54149ce2255f00c.tar.gz
CMake-6c9194488aa5d61774ffeb40f54149ce2255f00c.tar.bz2
Add policy CMP0036 to disallow build_name
Diffstat (limited to 'Help')
-rw-r--r--Help/command/build_name.rst4
-rw-r--r--Help/manual/cmake-policies.7.rst1
-rw-r--r--Help/policy/CMP0036.rst12
3 files changed, 16 insertions, 1 deletions
diff --git a/Help/command/build_name.rst b/Help/command/build_name.rst
index 2148e49..53cd05e 100644
--- a/Help/command/build_name.rst
+++ b/Help/command/build_name.rst
@@ -1,7 +1,9 @@
build_name
----------
-Deprecated. Use ${CMAKE_SYSTEM} and ${CMAKE_CXX_COMPILER} instead.
+Disallowed. See CMake Policy :policy:`CMP0036`.
+
+Use ${CMAKE_SYSTEM} and ${CMAKE_CXX_COMPILER} instead.
::
diff --git a/Help/manual/cmake-policies.7.rst b/Help/manual/cmake-policies.7.rst
index 3161cf0..fcbccba 100644
--- a/Help/manual/cmake-policies.7.rst
+++ b/Help/manual/cmake-policies.7.rst
@@ -65,3 +65,4 @@ All Policies
/policy/CMP0033
/policy/CMP0034
/policy/CMP0035
+ /policy/CMP0036
diff --git a/Help/policy/CMP0036.rst b/Help/policy/CMP0036.rst
new file mode 100644
index 0000000..9a5a0fd
--- /dev/null
+++ b/Help/policy/CMP0036.rst
@@ -0,0 +1,12 @@
+CMP0036
+-------
+
+The :command:`build_name` command should not be called.
+
+This command was added in May 2001 to compute a name for the current
+operating system and compiler combination. The command has long been
+documented as discouraged and replaced by the :variable:`CMAKE_SYSTEM`
+and :variable:`CMAKE_<LANG>_COMPILER` variables.
+
+.. |disallowed_version| replace:: 3.0.0
+.. include:: DISALLOWED_COMMAND.txt