summaryrefslogtreecommitdiffstats
path: root/Help/prop_dir/IMPORTED_TARGETS.rst
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-06-10 19:41:39 (GMT)
committerBrad King <brad.king@kitware.com>2021-06-10 19:52:12 (GMT)
commite13704ce72a49684a835ab7ee3db9c2a928b5db5 (patch)
treeb19a0c408b97c269db6c59012a57230ab777d059 /Help/prop_dir/IMPORTED_TARGETS.rst
parentea6d338ea10cd9a567e727cbf3d365966cb6f43c (diff)
downloadCMake-e13704ce72a49684a835ab7ee3db9c2a928b5db5.zip
CMake-e13704ce72a49684a835ab7ee3db9c2a928b5db5.tar.gz
CMake-e13704ce72a49684a835ab7ee3db9c2a928b5db5.tar.bz2
Add directory property to list imported targets
Model the change after commit cbca65826c (Add directory property to list buildsystem targets, 2016-09-19, v3.7.0-rc1~79^2~1). Fixes: #22291
Diffstat (limited to 'Help/prop_dir/IMPORTED_TARGETS.rst')
-rw-r--r--Help/prop_dir/IMPORTED_TARGETS.rst14
1 files changed, 14 insertions, 0 deletions
diff --git a/Help/prop_dir/IMPORTED_TARGETS.rst b/Help/prop_dir/IMPORTED_TARGETS.rst
new file mode 100644
index 0000000..fea8a93
--- /dev/null
+++ b/Help/prop_dir/IMPORTED_TARGETS.rst
@@ -0,0 +1,14 @@
+IMPORTED_TARGETS
+----------------
+
+.. versionadded:: 3.21
+
+This read-only directory property contains a
+:ref:`semicolon-separated list <CMake Language Lists>` of
+:ref:`Imported Targets` added in the directory by calls to the
+:command:`add_library` and :command:`add_executable` commands.
+Each entry in the list is the logical name of a target, suitable
+to pass to the :command:`get_property` command ``TARGET`` option
+when called in the same directory.
+
+See also the :prop_dir:`BUILDSYSTEM_TARGETS` directory property.