summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorKyle Edwards <kyle.edwards@kitware.com>2023-02-24 15:17:45 (GMT)
committerKyle Edwards <kyle.edwards@kitware.com>2023-02-24 15:17:45 (GMT)
commit18e02ace5b2c2318252acea5f53062ef8bd0e3c6 (patch)
tree2fd11fc551fa2e1da1a21f11ba20cdc73f22e27b /Help
parent35ca2d524befc71b840808cce4e0a773ef722b71 (diff)
downloadCMake-18e02ace5b2c2318252acea5f53062ef8bd0e3c6.zip
CMake-18e02ace5b2c2318252acea5f53062ef8bd0e3c6.tar.gz
CMake-18e02ace5b2c2318252acea5f53062ef8bd0e3c6.tar.bz2
install(CODE|SCRIPT): Support $<INSTALL_PREFIX> genex
Fixes: #24534
Diffstat (limited to 'Help')
-rw-r--r--Help/manual/cmake-generator-expressions.7.rst6
-rw-r--r--Help/release/dev/install-prefix-genex-install-code-script.rst5
2 files changed, 9 insertions, 2 deletions
diff --git a/Help/manual/cmake-generator-expressions.7.rst b/Help/manual/cmake-generator-expressions.7.rst
index 8a92b4b..ae52ba1 100644
--- a/Help/manual/cmake-generator-expressions.7.rst
+++ b/Help/manual/cmake-generator-expressions.7.rst
@@ -1734,8 +1734,10 @@ Export And Install Expressions
Content of the install prefix when the target is exported via
:command:`install(EXPORT)`, or when evaluated in the
- :prop_tgt:`INSTALL_NAME_DIR` property or the ``INSTALL_NAME_DIR`` argument of
- :command:`install(RUNTIME_DEPENDENCY_SET)`, and empty otherwise.
+ :prop_tgt:`INSTALL_NAME_DIR` property, the ``INSTALL_NAME_DIR`` argument of
+ :command:`install(RUNTIME_DEPENDENCY_SET)`, the code argument of
+ :command:`install(CODE)`, or the file argument of :command:`install(SCRIPT)`,
+ and empty otherwise.
Multi-level Expression Evaluation
---------------------------------
diff --git a/Help/release/dev/install-prefix-genex-install-code-script.rst b/Help/release/dev/install-prefix-genex-install-code-script.rst
new file mode 100644
index 0000000..810f448
--- /dev/null
+++ b/Help/release/dev/install-prefix-genex-install-code-script.rst
@@ -0,0 +1,5 @@
+install-prefix-genex-install-code-script
+----------------------------------------
+
+* The :command:`install(CODE)` and :command:`install(SCRIPT)` commands
+ now support the :genex:`$<INSTALL_PREFIX>` generator expression.