summaryrefslogtreecommitdiffstats
path: root/Help/command/add_custom_command.rst
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2023-09-21 13:39:35 (GMT)
committerKitware Robot <kwrobot@kitware.com>2023-09-21 13:39:56 (GMT)
commitf83790af0b0bdc7c409c2fb5d2e88d8c9c177684 (patch)
treee8d18380202338ba567879667f66727f9eca5e27 /Help/command/add_custom_command.rst
parent8030dd0986716df5368813b5792dbb28fb06ed82 (diff)
parentec2ba29ac5e424cf0c52ba8ea5c2e3a4c2667d7a (diff)
downloadCMake-f83790af0b0bdc7c409c2fb5d2e88d8c9c177684.zip
CMake-f83790af0b0bdc7c409c2fb5d2e88d8c9c177684.tar.gz
CMake-f83790af0b0bdc7c409c2fb5d2e88d8c9c177684.tar.bz2
Merge topic 'fileset-private-dep'
ec2ba29ac5 Ninja: Allow compilation before generation of dependencies' private sources Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8420
Diffstat (limited to 'Help/command/add_custom_command.rst')
-rw-r--r--Help/command/add_custom_command.rst10
1 files changed, 10 insertions, 0 deletions
diff --git a/Help/command/add_custom_command.rst b/Help/command/add_custom_command.rst
index 1fcf06c..5fe4326 100644
--- a/Help/command/add_custom_command.rst
+++ b/Help/command/add_custom_command.rst
@@ -87,6 +87,11 @@ The options are:
:ref:`Target-dependent expressions <Target-Dependent Queries>` are not
permitted.
+ .. versionchanged:: 3.28
+ In targets using :ref:`file sets`, custom command byproducts are now
+ considered private unless they are listed in a non-private file set.
+ See policy :policy:`CMP0154`.
+
``COMMAND``
Specify the command-line(s) to execute at build time.
If more than one ``COMMAND`` is specified they will be executed in order,
@@ -270,6 +275,11 @@ The options are:
:ref:`Target-dependent expressions <Target-Dependent Queries>` are not
permitted.
+ .. versionchanged:: 3.28
+ In targets using :ref:`file sets`, custom command outputs are now
+ considered private unless they are listed in a non-private file set.
+ See policy :policy:`CMP0154`.
+
``USES_TERMINAL``
.. versionadded:: 3.2