CONFIG

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

Syntax

$<CONFIG>

Configuration name. Use this instead of the deprecated CONFIGURATION generator expression.

Syntax

$<CONFIG:cfgs>

1 if config is any one of the entries in comma-separated list cfgs, else 0. This is a case-insensitive comparison. The mapping in MAP_IMPORTED_CONFIG_<CONFIG> is also considered by this expression when it is evaluated on a property of an IMPORTED target.

Changed in version 3.19: Multiple configurations can be specified for cfgs. CMake 3.18 and earlier only accepted a single configuration.