bilke / cmake-modules

Additional CMake functionality. Most of the modules are from Ryan Pavlik (https://github.com/rpavlik/cmake-modules)
Boost Software License 1.0
547 stars 214 forks source link

[CodeCoverage] Check if the generator is multi-config before warning about non-Debug builds. #60

Closed globberwops closed 3 years ago

globberwops commented 3 years ago

GENERATOR_IS_MULTI_CONFIG property was only added in CMake 3.9, so the it should just return false before that, which leads to the desired outcome:

non-Debug Debug
non-Multi-Config warning no warning
Multi-Config no warning no warning

Resolves #59

bilke commented 3 years ago

Thanks!