diff options
author | Brad King <brad.king@kitware.com> | 2022-11-22 14:47:50 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2022-11-22 14:47:59 (GMT) |
commit | 62172b4ab7dd06375b95f1ee9d467c015acd6c01 (patch) | |
tree | 3a6e8bf8cecd107f3954c886ef30bd4376238712 /Help/command | |
parent | a449a840bdbb321433c3e5049323628816e8032f (diff) | |
parent | 26d813092bffdcda77976ab5ba59c114e3e2fda5 (diff) | |
download | CMake-62172b4ab7dd06375b95f1ee9d467c015acd6c01.zip CMake-62172b4ab7dd06375b95f1ee9d467c015acd6c01.tar.gz CMake-62172b4ab7dd06375b95f1ee9d467c015acd6c01.tar.bz2 |
Merge topic 'custom-command-comment-genex'
26d813092b add_custom_{command,target}: add genex support for COMMENT
60a5a39022 cmCustomCommandGenerator: refactor GetComment to return std::string
Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !7887
Diffstat (limited to 'Help/command')
-rw-r--r-- | Help/command/add_custom_command.rst | 4 | ||||
-rw-r--r-- | Help/command/add_custom_target.rst | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/Help/command/add_custom_command.rst b/Help/command/add_custom_command.rst index a999c2d..5878997 100644 --- a/Help/command/add_custom_command.rst +++ b/Help/command/add_custom_command.rst @@ -140,6 +140,10 @@ The options are: Display the given message before the commands are executed at build time. + .. versionadded:: 3.26 + Arguments to ``COMMENT`` may use + :manual:`generator expressions <cmake-generator-expressions(7)>`. + ``DEPENDS`` Specify files on which the command depends. Each argument is converted to a dependency as follows: diff --git a/Help/command/add_custom_target.rst b/Help/command/add_custom_target.rst index ec02ee2..545b9a5 100644 --- a/Help/command/add_custom_target.rst +++ b/Help/command/add_custom_target.rst @@ -109,6 +109,10 @@ The options are: Display the given message before the commands are executed at build time. + .. versionadded:: 3.26 + Arguments to ``COMMENT`` may use + :manual:`generator expressions <cmake-generator-expressions(7)>`. + ``DEPENDS`` Reference files and outputs of custom commands created with :command:`add_custom_command` command calls in the same directory |