Remove Codecov from cmake build files.
@@ -64,17 +64,6 @@ if(WITH_SANDBOX)
add_subdirectory(sandbox)
endif(WITH_SANDBOX)
-if(WITH_COVERAGE)
- if(CMAKE_COMPILER_IS_GNUCXX)
- include(CodeCoverage)
- setup_target_for_coverage(${PROJECT_NAME}_coverage tests coverage)
- endif()
-
- include(CTest)
- enable_testing()
- add_test(NAME pre-commit-tests COMMAND pre-commit-tests)
-endif(WITH_COVERAGE)
-
set(TEST_COMMAND cd .. && ./pre-commit-tests)
add_custom_target(check ${CMAKE_CTEST_COMMAND}
COMMAND ${TEST_COMMAND}
