A general-purpose CMake library that provides functions that improve the CMake experience following the best practices.
Full Changelog: https://github.com/aminya/project_options/compare/v0.35.0...v0.35.1
Now the recommended way to run Conan is using the run_conan()
function that should be called before project
and supports both Conan v1 and v2.
As such ENABLE_CONAN
option of project_options
is deprecated, and you are recommended to migrate to the run_conan()
call.
Full Changelog: https://github.com/aminya/project_options/compare/v0.34.0...v0.35.0
Full Changelog: https://github.com/aminya/project_options/compare/v0.33.1...v0.34.0
Full Changelog: https://github.com/aminya/project_options/compare/v0.33.0...v0.33.1
Full Changelog: https://github.com/aminya/project_options/compare/v0.32.2...v0.33.0
git_clone
function by @aminya in https://github.com/aminya/project_options/pull/241
Full Changelog: https://github.com/aminya/project_options/compare/v0.32.1...v0.32.2
Full Changelog: https://github.com/aminya/project_options/compare/v0.32.0...v0.32.1
Full Changelog: https://github.com/aminya/project_options/compare/v0.31.0...v0.32.0
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: https://github.com/aminya/project_options/compare/v0.30.0...v0.31.0
-fstack-clash-protection
on MacOS M1 when using Clang by @FeignClaims in https://github.com/aminya/project_options/pull/225
Full Changelog: https://github.com/aminya/project_options/compare/v0.29.0...v0.30.0