summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorGregor Jasny <gjasny@googlemail.com>2016-06-25 22:12:52 (GMT)
committerGregor Jasny <gjasny@googlemail.com>2017-01-16 21:38:24 (GMT)
commitd9f836e9567dbcce85b917300e8de9086aa1f1f7 (patch)
tree3b54a2cae815ff859c09d6c934cab0446315bf3f /Help
parent35ad12f99e71515f9cc65b1219160b88095a5f6b (diff)
downloadCMake-d9f836e9567dbcce85b917300e8de9086aa1f1f7.zip
CMake-d9f836e9567dbcce85b917300e8de9086aa1f1f7.tar.gz
CMake-d9f836e9567dbcce85b917300e8de9086aa1f1f7.tar.bz2
Add a getter for manually added target dependencies
Closes: #16165
Diffstat (limited to 'Help')
-rw-r--r--Help/manual/cmake-properties.7.rst1
-rw-r--r--Help/prop_tgt/MANUALLY_ADDED_DEPENDENCIES.rst8
-rw-r--r--Help/release/dev/manually-added-dependencies.rst6
3 files changed, 15 insertions, 0 deletions
diff --git a/Help/manual/cmake-properties.7.rst b/Help/manual/cmake-properties.7.rst
index 864d1dc..5b39bed 100644
--- a/Help/manual/cmake-properties.7.rst
+++ b/Help/manual/cmake-properties.7.rst
@@ -236,6 +236,7 @@ Properties on Targets
/prop_tgt/MACOSX_BUNDLE
/prop_tgt/MACOSX_FRAMEWORK_INFO_PLIST
/prop_tgt/MACOSX_RPATH
+ /prop_tgt/MANUALLY_ADDED_DEPENDENCIES
/prop_tgt/MAP_IMPORTED_CONFIG_CONFIG
/prop_tgt/NAME
/prop_tgt/NO_SONAME
diff --git a/Help/prop_tgt/MANUALLY_ADDED_DEPENDENCIES.rst b/Help/prop_tgt/MANUALLY_ADDED_DEPENDENCIES.rst
new file mode 100644
index 0000000..c12ea14
--- /dev/null
+++ b/Help/prop_tgt/MANUALLY_ADDED_DEPENDENCIES.rst
@@ -0,0 +1,8 @@
+MANUALLY_ADDED_DEPENDENCIES
+---------------------------
+
+Get manually added dependencies to other top-level targets.
+
+This read-only property can be used to query all dependencies that
+were added for this target with the :command:`add_dependencies`
+command.
diff --git a/Help/release/dev/manually-added-dependencies.rst b/Help/release/dev/manually-added-dependencies.rst
new file mode 100644
index 0000000..6c486da
--- /dev/null
+++ b/Help/release/dev/manually-added-dependencies.rst
@@ -0,0 +1,6 @@
+manually-added-dependencies
+---------------------------
+
+* The target property :prop_tgt:`MANUALLY_ADDED_DEPENDENCIES` has
+ been added. It is read-only and could be used to retrieve
+ dependencies that have been added with :command:`add_dependencies`.