catch3
Progmasoft Catch3: an independently maintained C++17 test framework with a parallel runner, property checks, snapshots and structured results.
Clonegit clone https://git.progmasoft.com/catch3
Small CMakeLists cleanup
- Commit
a4c31ecd16076f8c95489f02c82f3db1fe0c43ec- Author
- Martin Hořeňovský ·
- Parents
1cc05122d7a9
Changes
tests/CMakeLists.txt | 29 +---------------------------- 1 file changed, 1 insertion(+), 28 deletions(-) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index f65f5100..3f3ca8ef 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -75,7 +75,7 @@ set(HEADERS ${EXTERNAL_HEADERS} ${INTERNAL_HEADERS} ${REPORTER_HEADERS} - ${BENCHMARK_HEADERS} + ${BENCHMARK_HEADERS} ${BENCHMARK_SOURCES} ) @@ -89,33 +89,6 @@ include(CTest) add_executable(SelfTest ${TEST_SOURCES}) target_link_libraries(SelfTest PRIVATE Catch2) -# It took CMake until 3.8 to abandon the doomed approach of enumerating -# required features so we just list bunch of C++11 and C++14 features. -target_compile_features(SelfTest - PRIVATE - cxx_alignas - cxx_alignof - cxx_attributes - cxx_auto_type - cxx_constexpr - cxx_defaulted_functions - cxx_deleted_functions - cxx_final - cxx_lambdas - cxx_noexcept - cxx_override - cxx_range_for - cxx_rvalue_references - cxx_static_assert - cxx_strong_enums - cxx_trailing_return_types - cxx_unicode_literals - cxx_user_literals - cxx_variadic_macros - cxx_variable_templates -) - - if (CATCH_ENABLE_COVERAGE) set(ENABLE_COVERAGE ON CACHE BOOL "Enable coverage build." FORCE) find_package(codecov)