summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-10-18 15:54:48 (GMT)
committerBrad King <brad.king@kitware.com>2013-10-22 13:09:51 (GMT)
commit9f64fbf5b5f128580639f14e232430194c9326f1 (patch)
tree0f83aa908222265eb0bcd69c19ac2264bb8b19a1 /Help
parent882c0f0b698e70be8b74aa498b62cb1fb22f3c24 (diff)
downloadCMake-9f64fbf5b5f128580639f14e232430194c9326f1.zip
CMake-9f64fbf5b5f128580639f14e232430194c9326f1.tar.gz
CMake-9f64fbf5b5f128580639f14e232430194c9326f1.tar.bz2
Add policy CMP0029 to disallow subdir_depends
Diffstat (limited to 'Help')
-rw-r--r--Help/command/subdir_depends.rst4
-rw-r--r--Help/manual/cmake-policies.7.rst1
-rw-r--r--Help/policy/CMP0029.rst10
3 files changed, 14 insertions, 1 deletions
diff --git a/Help/command/subdir_depends.rst b/Help/command/subdir_depends.rst
index c72a4af..5676c8f 100644
--- a/Help/command/subdir_depends.rst
+++ b/Help/command/subdir_depends.rst
@@ -1,7 +1,9 @@
subdir_depends
--------------
-Deprecated. Does nothing.
+Disallowed. See CMake Policy :policy:`CMP0029`.
+
+Does nothing.
::
diff --git a/Help/manual/cmake-policies.7.rst b/Help/manual/cmake-policies.7.rst
index cb328ee..d58fabc 100644
--- a/Help/manual/cmake-policies.7.rst
+++ b/Help/manual/cmake-policies.7.rst
@@ -58,3 +58,4 @@ All Policies
/policy/CMP0026
/policy/CMP0027
/policy/CMP0028
+ /policy/CMP0029
diff --git a/Help/policy/CMP0029.rst b/Help/policy/CMP0029.rst
new file mode 100644
index 0000000..92ef1ec
--- /dev/null
+++ b/Help/policy/CMP0029.rst
@@ -0,0 +1,10 @@
+CMP0029
+-------
+
+The :command:`subdir_depends` command should not be called.
+
+The implementation of this command has been empty since December 2001
+but was kept in CMake for compatibility for a long time.
+
+.. |disallowed_version| replace:: 3.0.0
+.. include:: DISALLOWED_COMMAND.txt