summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-03-25 14:23:47 (GMT)
committerKitware Robot <kwrobot@kitware.com>2021-03-25 14:24:37 (GMT)
commitfef28dbc1e252f5431f3602129a3b3a6cc0ab7bf (patch)
treee85fdf0117d99484b05ba5b3b6d0371f3201cc99 /Help
parent3e4e02dcc53e285eee50f1a487ba5a4eeb729d5b (diff)
parent2f59b683d37574464e4f0494a1ad24abe09159d9 (diff)
downloadCMake-fef28dbc1e252f5431f3602129a3b3a6cc0ab7bf.zip
CMake-fef28dbc1e252f5431f3602129a3b3a6cc0ab7bf.tar.gz
CMake-fef28dbc1e252f5431f3602129a3b3a6cc0ab7bf.tar.bz2
Merge topic 'doc-custom-output-genex' into release-3.20
2f59b683d3 Help: Custom OUTPUT and BYPRODUCTS genexes cannot refer to targets Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5939
Diffstat (limited to 'Help')
-rw-r--r--Help/command/add_custom_command.rst8
-rw-r--r--Help/command/add_custom_target.rst4
-rw-r--r--Help/manual/cmake-generator-expressions.7.rst2
3 files changed, 11 insertions, 3 deletions
diff --git a/Help/command/add_custom_command.rst b/Help/command/add_custom_command.rst
index 183bb72..c0b9593 100644
--- a/Help/command/add_custom_command.rst
+++ b/Help/command/add_custom_command.rst
@@ -80,8 +80,10 @@ The options are:
:prop_sf:`GENERATED` files during ``make clean``.
.. versionadded:: 3.20
- Arguments to ``BYPRODUCTS`` may use
+ Arguments to ``BYPRODUCTS`` may use a restricted set of
:manual:`generator expressions <cmake-generator-expressions(7)>`.
+ :ref:`Target-dependent expressions <Target-Dependent Queries>` are not
+ permitted.
``COMMAND``
Specify the command-line(s) to execute at build time.
@@ -235,8 +237,10 @@ The options are:
source file property.
.. versionadded:: 3.20
- Arguments to ``OUTPUT`` may use
+ Arguments to ``OUTPUT`` may use a restricted set of
:manual:`generator expressions <cmake-generator-expressions(7)>`.
+ :ref:`Target-dependent expressions <Target-Dependent Queries>` are not
+ permitted.
``USES_TERMINAL``
.. versionadded:: 3.2
diff --git a/Help/command/add_custom_target.rst b/Help/command/add_custom_target.rst
index 22d3f29..def23fa 100644
--- a/Help/command/add_custom_target.rst
+++ b/Help/command/add_custom_target.rst
@@ -55,8 +55,10 @@ The options are:
:prop_sf:`GENERATED` files during ``make clean``.
.. versionadded:: 3.20
- Arguments to ``BYPRODUCTS`` may use
+ Arguments to ``BYPRODUCTS`` may use a restricted set of
:manual:`generator expressions <cmake-generator-expressions(7)>`.
+ :ref:`Target-dependent expressions <Target-Dependent Queries>` are not
+ permitted.
``COMMAND``
Specify the command-line(s) to execute at build time.
diff --git a/Help/manual/cmake-generator-expressions.7.rst b/Help/manual/cmake-generator-expressions.7.rst
index ca4ea3e..7bc490f 100644
--- a/Help/manual/cmake-generator-expressions.7.rst
+++ b/Help/manual/cmake-generator-expressions.7.rst
@@ -709,6 +709,8 @@ Variable Queries
properties to avoid side-effects due to the double evaluation of
these properties.
+.. _`Target-Dependent Queries`:
+
Target-Dependent Queries
------------------------