Removed test coverage code
All checks were successful
Build and Run C++ Unit Tests / build-and-test (push) Successful in 1m59s

This commit is contained in:
Pascal Serrarens 2025-12-23 15:05:35 +01:00
parent 9b76dfd094
commit 5ed7e67070

View File

@ -18,15 +18,6 @@ else()
URL https://github.com/google/googletest/archive/refs/heads/main.zip
)
# Enable coverage
option(CODE_COVERAGE "Enable coverage reporting" ON)
if(CODE_COVERAGE)
message(STATUS "Code coverage enabled")
add_compile_options(/PROFILE) # MSVC flag for coverage
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /Zi /Od") # Debug info
endif()
# For Windows: Prevent overriding the parent project's compiler/linker settings
set(gtest_force_shared_crt ON CACHE BOOL "" FORCE)
FetchContent_MakeAvailable(googletest)