$<CONFIG:xxx> generator expression true for multiple values when using MAP_IMPORTED_CONFIG_yyy
Given an imported target with an imported location for config XXX, with a mapping between YYY and XXX, generator expressions on this target that test $<CONFIG:XXX>
and $<CONFIG:YYY>
both return true.
The attached CMakeLists.txt generate a file with the content of the property INTERFACE_COMPILE_DEFINITIONS
, showing that it contains both is_debug
and is_release
when MAP_IMPORTED_CONFIG_DEBUG
is set.