Skip to content

add_custom_{command,target}: add genex support for COMMENT

Peter Würth requested to merge petwu/cmake:custom-command-comment-genex into master

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 $, in the build-time messages.

Fixes #22507 (closed)

Merge request reports