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 $, in the build-time
messages.
Fixes #22507 (closed)