1 cmake_minimum_required(VERSION 3.0) 2 3 project(CatchCoverageHelper) 4 5 add_executable(CoverageHelper coverage-helper.cpp) 6 set_property(TARGET CoverageHelper PROPERTY CXX_STANDARD 11) 7 set_property(TARGET CoverageHelper PROPERTY CXX_STANDARD_REQUIRED ON) 8 set_property(TARGET CoverageHelper PROPERTY CXX_EXTENSIONS OFF) 9 if (MSVC) 10 target_compile_options( CoverageHelper PRIVATE /W4 /w44265 /WX /w44061 /w44062 ) 11 endif() 12