CMakeLists.txt 416 B

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