Closed N-Dekker closed 4 years ago
FWIW, It might be more CMake-stylish to test on the property GENERATOR_IS_MULTI_CONFIG, which can be retrieved by:
get_property(is_multi_config GLOBAL PROPERTY GENERATOR_IS_MULTI_CONFIG)
But I still think the current PR is fine 😺
TODO Need to fix conanfile.py for new cmake file
For Visual Studio, this commit ensures that the generated HDILib.sln file only has the configuration specified by
CMAKE_BUILD_TYPE
.