summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2018-10-11 10:59:38 (GMT)
committerBrad King <brad.king@kitware.com>2018-10-11 11:05:55 (GMT)
commit0f48fbaa72fa254faaed6b586fcaa5d3c5c77798 (patch)
tree38520add1b903a77bdd51af9789c3cab9c869148 /Help
parentfd02538974dd952a8639d371c2c0067d30d5469a (diff)
downloadCMake-0f48fbaa72fa254faaed6b586fcaa5d3c5c77798.zip
CMake-0f48fbaa72fa254faaed6b586fcaa5d3c5c77798.tar.gz
CMake-0f48fbaa72fa254faaed6b586fcaa5d3c5c77798.tar.bz2
install: Revert CODE,SCRIPT support for generator expressions
Revert commit v3.13.0-rc1~441^2 (install: Teach CODE,SCRIPT modes to evaluate generator expressions, 2018-05-29). Unfortunately it has been found to break existing code in a real project, e.g. install(CODE [[ message("$<FOOBAR>") ]]) Address this regression by reverting support for the 3.13 release series. Support can be restored later with a policy for compatibility. Issue: #15785 Fixes: #18435
Diffstat (limited to 'Help')
-rw-r--r--Help/command/install.rst4
-rw-r--r--Help/release/3.13.rst3
2 files changed, 0 insertions, 7 deletions
diff --git a/Help/command/install.rst b/Help/command/install.rst
index 08c5718..98074d0 100644
--- a/Help/command/install.rst
+++ b/Help/command/install.rst
@@ -442,10 +442,6 @@ 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
^^^^^^^^^^^^^^^^^^
diff --git a/Help/release/3.13.rst b/Help/release/3.13.rst
index b08f21d..0e05807 100644
--- a/Help/release/3.13.rst
+++ b/Help/release/3.13.rst
@@ -61,9 +61,6 @@ Commands
* The :command:`add_link_options` command was created to add link
options in the current directory.
-* The :command:`install(CODE)` and :command:`install(SCRIPT)` commands
- learned to support generator expressions.
-
* The :command:`install(TARGETS)` command learned to install targets
created outside the current directory.