summaryrefslogtreecommitdiff
path: root/Help/command/install_targets.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Help/command/install_targets.rst')
-rw-r--r--Help/command/install_targets.rst17
1 files changed, 17 insertions, 0 deletions
diff --git a/Help/command/install_targets.rst b/Help/command/install_targets.rst
new file mode 100644
index 000000000..49ca69694
--- /dev/null
+++ b/Help/command/install_targets.rst
@@ -0,0 +1,17 @@
+install_targets
+---------------
+
+Deprecated. Use the :command:`install(TARGETS)` command instead.
+
+This command has been superceded by the :command:`install` command. It is
+provided for compatibility with older CMake code.
+
+::
+
+ install_targets(<dir> [RUNTIME_DIRECTORY dir] target target)
+
+Create rules to install the listed targets into the given directory.
+The directory ``<dir>`` is relative to the installation prefix, which is
+stored in the variable :variable:`CMAKE_INSTALL_PREFIX`. If
+``RUNTIME_DIRECTORY`` is specified, then on systems with special runtime
+files (Windows DLL), the files will be copied to that directory.