install: Allow generator expressions in DIRECTORY DESTINATION

This commit is contained in:
Robert Goulet
2015-09-23 17:15:29 -04:00
committed by Brad King
parent 69ab5f5502
commit bd189cc24e
11 changed files with 82 additions and 8 deletions
+4
View File
@@ -271,6 +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.
Custom Installation Logic
^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -0,0 +1,5 @@
install-directory-dest-genex
----------------------------
* The :command:`install(DIRECTORY)` command ``DESTINATION`` option learned to
support :manual:`generator expressions <cmake-generator-expressions(7)>`.