install: Teach CODE,SCRIPT modes to evaluate generator expressions

Fixes: #15785
This commit is contained in:
Jon Chronopoulos
2018-05-29 21:37:26 +10:00
committed by Brad King
parent acaaca968c
commit 6dad812143
10 changed files with 77 additions and 14 deletions

View File

@@ -427,6 +427,10 @@ example, the code
will print a message during installation.
The contents of ``SCRIPT`` or ``CODE`` may use "generator expressions" with
the syntax ``$<...>``. See the :manual:`cmake-generator-expressions(7)`
manual for available expressions.
Installing Exports
^^^^^^^^^^^^^^^^^^