COMMAND_CONFIG

This generator expression belongs to the Configuration Expressions family. See that section for related generator expressions.

Syntax

$<COMMAND_CONFIG:...>

Added in version 3.20.

Only valid in add_custom_command() and add_custom_target() as the outer-most generator expression in an argument. With the Ninja Multi-Config generator, generator expressions in ... are evaluated using the custom command's "command config". With other generators, the content of ... is evaluated normally.