diff options
author | Peter Würth <wuerth.peter@freenet.de> | 2022-11-18 11:29:47 (GMT) |
---|---|---|
committer | Peter Würth <wuerth.peter@freenet.de> | 2022-11-19 12:32:56 (GMT) |
commit | 26d813092bffdcda77976ab5ba59c114e3e2fda5 (patch) | |
tree | 13704e2e7a4ca069d7ff331fece81150929bd580 /Help/release | |
parent | 60a5a39022c8c2504173d635732110b2550b7f91 (diff) | |
download | CMake-26d813092bffdcda77976ab5ba59c114e3e2fda5.zip CMake-26d813092bffdcda77976ab5ba59c114e3e2fda5.tar.gz CMake-26d813092bffdcda77976ab5ba59c114e3e2fda5.tar.bz2 |
add_custom_{command,target}: add genex support for COMMENT
Evaluate and expand generator expressions in the `COMMENT` argument of
the `add_custom_command()` and `add_custom_target()` commands.
This allows to include generator expressions, e.g. a targets location
$<TARGET_...> or the current configuration $<CONFIG>, in the build-time
messages.
Fixes #22507
Diffstat (limited to 'Help/release')
-rw-r--r-- | Help/release/dev/custom-command-comment-genex.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Help/release/dev/custom-command-comment-genex.rst b/Help/release/dev/custom-command-comment-genex.rst new file mode 100644 index 0000000..f9402f2 --- /dev/null +++ b/Help/release/dev/custom-command-comment-genex.rst @@ -0,0 +1,6 @@ +custom-command-comment-genex +---------------------------- + +* :command:`add_custom_command` and :command:`add_custom_target` now + support :manual:`generator expressions <cmake-generator-expressions(7)>` + in their ``COMMENT`` option. |