diff options
author | Craig Scott <craig.scott@crascit.com> | 2024-11-15 23:02:01 (GMT) |
---|---|---|
committer | Craig Scott <craig.scott@crascit.com> | 2024-11-15 23:02:01 (GMT) |
commit | 62586f236ca39563d82af282776296400b0d93bd (patch) | |
tree | e854f0b9c438a57da8bb64d74ea244307dc0af25 /Help | |
parent | 0dffd052876ac5d44ca7ac1b39c8b79c2b8d3f1b (diff) | |
download | CMake-62586f236ca39563d82af282776296400b0d93bd.zip CMake-62586f236ca39563d82af282776296400b0d93bd.tar.gz CMake-62586f236ca39563d82af282776296400b0d93bd.tar.bz2 |
CMP0175: Do not reject USES_TERMINAL for add_custom_command(TARGET)
Fixes: #26449
Diffstat (limited to 'Help')
-rw-r--r-- | Help/command/add_custom_command.rst | 3 | ||||
-rw-r--r-- | Help/policy/CMP0175.rst | 4 |
2 files changed, 4 insertions, 3 deletions
diff --git a/Help/command/add_custom_command.rst b/Help/command/add_custom_command.rst index 122bb4e..6c2d693 100644 --- a/Help/command/add_custom_command.rst +++ b/Help/command/add_custom_command.rst @@ -599,7 +599,8 @@ target is already built, the command will not execute. [WORKING_DIRECTORY dir] [COMMENT comment] [VERBATIM] - [COMMAND_EXPAND_LISTS]) + [COMMAND_EXPAND_LISTS] + [USES_TERMINAL]) This defines a new command that will be associated with building the specified ``<target>``. The ``<target>`` must be defined in the current diff --git a/Help/policy/CMP0175.rst b/Help/policy/CMP0175.rst index f2c372d..a71aadf 100644 --- a/Help/policy/CMP0175.rst +++ b/Help/policy/CMP0175.rst @@ -24,8 +24,8 @@ following as errors that previously went unreported: ``POST_BUILD`` to be given. Previously, if none were given, ``POST_BUILD`` was assumed, or if multiple keywords were given, the last one was used. * The ``TARGET`` form does not accept ``DEPENDS``, ``DEPENDS_EXPLICIT_ONLY``, - ``DEPFILE``, ``IMPLICIT_DEPENDS``, ``MAIN_DEPENDENCY``, ``JOB_POOL``, - ``JOB_SERVER_AWARE``, or ``USES_TERMINAL`` keywords. + ``DEPFILE``, ``IMPLICIT_DEPENDS``, ``MAIN_DEPENDENCY``, ``JOB_POOL``, or + ``JOB_SERVER_AWARE`` keywords. * The ``TARGET`` form now requires at least one ``COMMAND`` to be given. * If a keyword expects a value to be given after it, but no value is provided, that was previously treated as though the keyword was not given at all. |