diff options
author | Yves Frederix <yves.frederix@gmail.com> | 2016-01-12 20:01:07 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-01-13 14:02:06 (GMT) |
commit | 630c8aa8435fced988545d396714398faa3426b1 (patch) | |
tree | 9cae7d2f3ddd216a6f03c777b5cbddc01527e54d /Help | |
parent | b5009720d3020021f189570d72c099963795a5c5 (diff) | |
download | CMake-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')
-rw-r--r-- | Help/command/install.rst | 7 | ||||
-rw-r--r-- | Help/release/dev/install-DIRECTORY-genex.rst | 6 |
2 files changed, 10 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 ^^^^^^^^^^^^^^^^^^^^^^^^^ diff --git a/Help/release/dev/install-DIRECTORY-genex.rst b/Help/release/dev/install-DIRECTORY-genex.rst new file mode 100644 index 0000000..e48f19b --- /dev/null +++ b/Help/release/dev/install-DIRECTORY-genex.rst @@ -0,0 +1,6 @@ +install-DIRECTORY-genex +----------------------- + +* The :command:`install(DIRECTORY)` command learned to support + :manual:`generator expressions <cmake-generator-expressions(7)>` + in the list of directories. |