diff --git a/.gitignore b/.gitignore index 23c287a..bccf008 100644 --- a/.gitignore +++ b/.gitignore @@ -52,6 +52,7 @@ compile_commands.json *creator.user* build/ +.cache/ local_docs/ CMakeCache.txt CMakeFiles/ diff --git a/CMakeLists.txt b/CMakeLists.txt index b20d08c..e525b12 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,6 @@ cmake_minimum_required(VERSION 3.16) -project(CoreTemplateStd VERSION 1.0.0 LANGUAGES CXX) +project(CoreTemplateStd VERSION 0.5.2 LANGUAGES CXX) include(GNUInstallDirs) include(CMakePackageConfigHelpers) @@ -24,8 +24,16 @@ option(CORETEMPLATE_BUILD_EXAMPLE "Build the example application" ON) option(CORETEMPLATE_BUILD_TESTS "Build the test suite" OFF) option(CORETEMPLATE_BUILD_QT_ADAPTER "Build the optional Qt adapter target" OFF) option(CORETEMPLATE_BUILD_QT_GUI_EXAMPLE "Build the optional Qt Widgets GUI example" ON) +option(CORETEMPLATE_ENABLE_UNSAFE_FORCE_TERMINATION "Deprecated: unsafe native thread termination is no longer exposed by Core" OFF) option(CORETEMPLATE_ENABLE_SANITIZERS "Enable AddressSanitizer and UndefinedBehaviorSanitizer for local test and example targets" OFF) +if(CORETEMPLATE_ENABLE_UNSAFE_FORCE_TERMINATION) + message(DEPRECATION + "CORETEMPLATE_ENABLE_UNSAFE_FORCE_TERMINATION is deprecated. " + "Core now uses cooperative cancellation only; this option will be removed in the next major release." + ) +endif() + if(CORETEMPLATE_ENABLE_SANITIZERS) if(MSVC) message(WARNING "CORETEMPLATE_ENABLE_SANITIZERS is not configured for MSVC")