summaryrefslogtreecommitdiffstats
path: root/Help/command
diff options
context:
space:
mode:
authorYves Frederix <yves.frederix@gmail.com>2016-01-12 20:01:07 (GMT)
committerBrad King <brad.king@kitware.com>2016-01-13 14:02:06 (GMT)
commit630c8aa8435fced988545d396714398faa3426b1 (patch)
tree9cae7d2f3ddd216a6f03c777b5cbddc01527e54d /Help/command
parentb5009720d3020021f189570d72c099963795a5c5 (diff)
downloadCMake-630c8aa8435fced988545d396714398faa3426b1.zip
CMake-630c8aa8435fced988545d396714398faa3426b1.tar.gz
CMake-630c8aa8435fced988545d396714398faa3426b1.tar.bz2
install: Allow generator expressions in DIRECTORY
Teach install(DIRECTORY) to support generator expressions in the list of directories, much like install(FILES) already supports.
Diffstat (limited to 'Help/command')
-rw-r--r--Help/command/install.rst7
1 files changed, 4 insertions, 3 deletions
diff --git a/Help/command/install.rst b/Help/command/install.rst
index 423899e..5d2add7 100644
--- a/Help/command/install.rst
+++ b/Help/command/install.rst
@@ -271,9 +271,10 @@ will install the ``icons`` directory to ``share/myproj/icons`` and the
file permissions, the scripts will be given specific permissions, and any
``CVS`` directories will be excluded.
-The install destination given to the directory install ``DESTINATION`` may
-use "generator expressions" with the syntax ``$<...>``. See the
-:manual:`cmake-generator-expressions(7)` manual for available expressions.
+The list of ``dirs...`` given to ``DIRECTORY`` and the install destination
+given to the directory install ``DESTINATION`` may use "generator expressions"
+with the syntax ``$<...>``. See the :manual:`cmake-generator-expressions(7)`
+manual for available expressions.
Custom Installation Logic
^^^^^^^^^^^^^^^^^^^^^^^^^