summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-10-21 15:50:47 (GMT)
committerBrad King <brad.king@kitware.com>2013-10-22 13:09:52 (GMT)
commit178b9af18674b23be97758236c676c9bd9398c40 (patch)
tree657c6451d32cc4893b601214066d17512c9a62e9 /Help
parent248d1dc057564dc00e3374d7797a1e42ea57032d (diff)
downloadCMake-178b9af18674b23be97758236c676c9bd9398c40.zip
CMake-178b9af18674b23be97758236c676c9bd9398c40.tar.gz
CMake-178b9af18674b23be97758236c676c9bd9398c40.tar.bz2
Add policy CMP0034 to disallow utility_source
Diffstat (limited to 'Help')
-rw-r--r--Help/command/utility_source.rst2
-rw-r--r--Help/manual/cmake-policies.7.rst1
-rw-r--r--Help/policy/CMP0034.rst11
3 files changed, 14 insertions, 0 deletions
diff --git a/Help/command/utility_source.rst b/Help/command/utility_source.rst
index e513627..5122e52 100644
--- a/Help/command/utility_source.rst
+++ b/Help/command/utility_source.rst
@@ -1,6 +1,8 @@
utility_source
--------------
+Disallowed. See CMake Policy :policy:`CMP0034`.
+
Specify the source tree of a third-party utility.
::
diff --git a/Help/manual/cmake-policies.7.rst b/Help/manual/cmake-policies.7.rst
index 062a75d..0e9d346 100644
--- a/Help/manual/cmake-policies.7.rst
+++ b/Help/manual/cmake-policies.7.rst
@@ -63,3 +63,4 @@ All Policies
/policy/CMP0031
/policy/CMP0032
/policy/CMP0033
+ /policy/CMP0034
diff --git a/Help/policy/CMP0034.rst b/Help/policy/CMP0034.rst
new file mode 100644
index 0000000..1dd6e5c
--- /dev/null
+++ b/Help/policy/CMP0034.rst
@@ -0,0 +1,11 @@
+CMP0034
+-------
+
+The :command:`utility_source` command should not be called.
+
+This command was introduced in March 2001 to help build executables used to
+generate other files. This approach has long been replaced by
+:command:`add_executable` combined with :command:`add_custom_command`.
+
+.. |disallowed_version| replace:: 3.0.0
+.. include:: DISALLOWED_COMMAND.txt