Skip to content

Commit

Permalink
testing: remove coverage from CMakeLists
Browse files Browse the repository at this point in the history
  • Loading branch information
headblockhead committed Nov 17, 2024
1 parent 621214e commit d337192
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,6 @@ set_target_properties(squirrel PROPERTIES PUBLIC_HEADER include/squirrel.h)
include(CTest)
enable_testing()

list(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/CMakeModules")
if(CMAKE_COMPILER_IS_GNUCXX)
include(CodeCoverage)
APPEND_COVERAGE_COMPILER_FLAGS()
setup_target_for_coverage_gcovr_html(squirrel squirrel_test coverage)
list(APPEND GCOVR_EXCLUDES "tests/")
endif()

add_executable(keyboard_press_release tests/keyboard_press_release.c)
target_link_libraries(keyboard_press_release squirrel)
add_test(NAME keyboard_press_release COMMAND keyboard_press_release)
Expand Down

0 comments on commit d337192

Please sign in to comment.