summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-10-18 17:09:32 (GMT)
committerBrad King <brad.king@kitware.com>2013-10-22 13:09:52 (GMT)
commit248d1dc057564dc00e3374d7797a1e42ea57032d (patch)
treef02f66efaede660545b5ed228e36587f80164872 /Help
parent6865c8fe05d407077a598fcc0921ef62dfeaf021 (diff)
downloadCMake-248d1dc057564dc00e3374d7797a1e42ea57032d.zip
CMake-248d1dc057564dc00e3374d7797a1e42ea57032d.tar.gz
CMake-248d1dc057564dc00e3374d7797a1e42ea57032d.tar.bz2
Add policy CMP0033 to disallow export_library_dependencies
Diffstat (limited to 'Help')
-rw-r--r--Help/command/export_library_dependencies.rst4
-rw-r--r--Help/manual/cmake-policies.7.rst1
-rw-r--r--Help/policy/CMP0033.rst14
3 files changed, 18 insertions, 1 deletions
diff --git a/Help/command/export_library_dependencies.rst b/Help/command/export_library_dependencies.rst
index c09f3d5..73c0b42 100644
--- a/Help/command/export_library_dependencies.rst
+++ b/Help/command/export_library_dependencies.rst
@@ -1,7 +1,9 @@
export_library_dependencies
---------------------------
-Deprecated. Use INSTALL(EXPORT) or EXPORT command.
+Disallowed. See CMake Policy :policy:`CMP0033`.
+
+Use :command:`install(EXPORT)` or :command:`export` command.
This command generates an old-style library dependencies file.
Projects requiring CMake 2.6 or later should not use the command. Use
diff --git a/Help/manual/cmake-policies.7.rst b/Help/manual/cmake-policies.7.rst
index 04ac33b..062a75d 100644
--- a/Help/manual/cmake-policies.7.rst
+++ b/Help/manual/cmake-policies.7.rst
@@ -62,3 +62,4 @@ All Policies
/policy/CMP0030
/policy/CMP0031
/policy/CMP0032
+ /policy/CMP0033
diff --git a/Help/policy/CMP0033.rst b/Help/policy/CMP0033.rst
new file mode 100644
index 0000000..677e1c4
--- /dev/null
+++ b/Help/policy/CMP0033.rst
@@ -0,0 +1,14 @@
+CMP0033
+-------
+
+The :command:`export_library_dependencies` command should not be called.
+
+This command was added in January 2003 to export ``<tgt>_LIB_DEPENDS``
+internal CMake cache entries to a file for installation with a project.
+This was used at the time to allow transitive link dependencies to
+work for applications outside of the original build tree of a project.
+The functionality has been superseded by the :command:`export` and
+:command:`install(EXPORT)` commands.
+
+.. |disallowed_version| replace:: 3.0.0
+.. include:: DISALLOWED_COMMAND.txt