v0.31.0
What's Changed
- 🎉 feat: add check_sanitizers_support (#219) by @abeimler in #231
- 🎉 feat: add detection for custom Linker by @abeimler in #232
- fix: simplify setting the options for project_options by @aminya in #234
- fix: update the MSVC toolchain to v0.7.0 by @ClausKlein in #230
- ci: install mingw with setup-cpp by @abeimler in #233
The example for setting the options is significantly simplified now. Please refer to the documentation or cpp_vcpkg_project to update your project:
Here is a gist that uses check_sanitizers_support
option(FEATURE_TESTS "Enable the tests" OFF)
if(FEATURE_TESTS)
set(ENABLE_CLANG_TIDY "ENABLE_CLANG_TIDY")
set(ENABLE_CPPCHECK "ENABLE_CPPCHECK")
set(ENABLE_COVERAGE "ENABLE_COVERAGE")
check_sanitizers_support(ENABLE_SANITIZER_ADDRESS
ENABLE_SANITIZER_UNDEFINED_BEHAVIOR
ENABLE_SANITIZER_LEAK
ENABLE_SANITIZER_THREAD
ENABLE_SANITIZER_MEMORY)
endif()
Full Changelog: v0.30.0...v0.31.0