mirror of
https://github.com/catchorg/Catch2.git
synced 2025-01-10 20:03:30 +01:00
7d7b2f89f2
We also bump the minimum CMake version to 3.20 as per #2943
12 lines
417 B
CMake
12 lines
417 B
CMake
cmake_minimum_required(VERSION 3.20)
|
|
|
|
project(CatchCoverageHelper)
|
|
|
|
add_executable(CoverageHelper coverage-helper.cpp)
|
|
set_property(TARGET CoverageHelper PROPERTY CXX_STANDARD 11)
|
|
set_property(TARGET CoverageHelper PROPERTY CXX_STANDARD_REQUIRED ON)
|
|
set_property(TARGET CoverageHelper PROPERTY CXX_EXTENSIONS OFF)
|
|
if (MSVC)
|
|
target_compile_options( CoverageHelper PRIVATE /W4 /w44265 /WX /w44061 /w44062 )
|
|
endif()
|