summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorRobert Goulet <robert.goulet@autodesk.com>2015-09-23 17:40:27 (GMT)
committerBrad King <brad.king@kitware.com>2015-09-23 18:37:17 (GMT)
commit17aa6fd36284ad937bfce370cf8d5e5de87a334b (patch)
tree2305380ddecce1f8de5c617c65c4ea729d347901 /Help
parentc3b3284c931d6368e4f100fc19ed8f2efdebd9fa (diff)
downloadCMake-17aa6fd36284ad937bfce370cf8d5e5de87a334b.zip
CMake-17aa6fd36284ad937bfce370cf8d5e5de87a334b.tar.gz
CMake-17aa6fd36284ad937bfce370cf8d5e5de87a334b.tar.bz2
install: Allow generator expressions in FILES DESTINATION
Diffstat (limited to 'Help')
-rw-r--r--Help/command/install.rst4
-rw-r--r--Help/release/dev/install-files-dest-genex.rst5
2 files changed, 9 insertions, 0 deletions
diff --git a/Help/command/install.rst b/Help/command/install.rst
index c99ed73..9c17bba 100644
--- a/Help/command/install.rst
+++ b/Help/command/install.rst
@@ -192,6 +192,10 @@ The list of ``files...`` given to ``FILES`` or ``PROGRAMS`` may use
However, if any item begins in a generator expression it must evaluate
to a full path.
+The install destination given to the files install ``DESTINATION`` may
+use "generator expressions" with the syntax ``$<...>``. See the
+:manual:`cmake-generator-expressions(7)` manual for available expressions.
+
Installing Directories
^^^^^^^^^^^^^^^^^^^^^^
diff --git a/Help/release/dev/install-files-dest-genex.rst b/Help/release/dev/install-files-dest-genex.rst
new file mode 100644
index 0000000..b7aa8b3
--- /dev/null
+++ b/Help/release/dev/install-files-dest-genex.rst
@@ -0,0 +1,5 @@
+install-files-dest-genex
+------------------------
+
+* The :command:`install(FILES)` command ``DESTINATION`` option learned to
+ support :manual:`generator expressions <cmake-generator-expressions(7)>`.