summaryrefslogtreecommitdiffstats
path: root/Help/command/install.rst
diff options
context:
space:
mode:
authorJon Chronopoulos <patches@crondog.com>2018-05-29 11:37:26 (GMT)
committerBrad King <brad.king@kitware.com>2018-06-07 17:18:23 (GMT)
commit6dad812143ae50df5ed0de4c5c2d433b6d59aea2 (patch)
tree9a20cd5510a8275bbef5405c8342fd316392ca90 /Help/command/install.rst
parentacaaca968c512fa420f3564649be1f49acfa6a6a (diff)
downloadCMake-6dad812143ae50df5ed0de4c5c2d433b6d59aea2.zip
CMake-6dad812143ae50df5ed0de4c5c2d433b6d59aea2.tar.gz
CMake-6dad812143ae50df5ed0de4c5c2d433b6d59aea2.tar.bz2
install: Teach CODE,SCRIPT modes to evaluate generator expressions
Fixes: #15785
Diffstat (limited to 'Help/command/install.rst')
-rw-r--r--Help/command/install.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Help/command/install.rst b/Help/command/install.rst
index 6cea996..08cbc56 100644
--- a/Help/command/install.rst
+++ b/Help/command/install.rst
@@ -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
^^^^^^^^^^^^^^^^^^