summaryrefslogtreecommitdiffstats
path: root/Help/command/add_custom_command.rst
diff options
context:
space:
mode:
authorCraig Scott <craig.scott@crascit.com>2021-03-25 07:04:17 (GMT)
committerCraig Scott <craig.scott@crascit.com>2021-03-25 07:04:17 (GMT)
commit2f59b683d37574464e4f0494a1ad24abe09159d9 (patch)
treec7938e531e2cc752df28412b4776c2ae80189efb /Help/command/add_custom_command.rst
parentb7b0fb430397bafae4a7bd80b41d474c91a3b7f3 (diff)
downloadCMake-2f59b683d37574464e4f0494a1ad24abe09159d9.zip
CMake-2f59b683d37574464e4f0494a1ad24abe09159d9.tar.gz
CMake-2f59b683d37574464e4f0494a1ad24abe09159d9.tar.bz2
Help: Custom OUTPUT and BYPRODUCTS genexes cannot refer to targets
Relates: #21364
Diffstat (limited to 'Help/command/add_custom_command.rst')
-rw-r--r--Help/command/add_custom_command.rst8
1 files changed, 6 insertions, 2 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