Closed sgenie68 closed 5 years ago
This test should be used to detect for multi-config environments.
get_property(IS_MULTI_CONFIG GLOBAL PROPERTY GENERATOR_IS_MULTI_CONFIG)
It should be quite high in the project so it is easily accessible to all parts of the build configuration.
The $<CONFIG> dir should also include the / as it can create some weirdness when ./ paths are added to paths ending in /.
$<CONFIG>
/
./
This variable sets native pythonpath only - which does not depend on the configuration. The second part of the properties sets libraries path - and that is configuration dependent.
This test should be used to detect for multi-config environments.
It should be quite high in the project so it is easily accessible to all parts of the build configuration.
The
$<CONFIG>
dir should also include the/
as it can create some weirdness when./
paths are added to paths ending in/
.