Skip to content
Snippets Groups Projects
Commit 8da24ed1 authored by Lars Bilke's avatar Lars Bilke
Browse files

Merge branch 'SpeedupCodeCoverage' into 'master'

Speedup code coverage

See merge request ogs/ogs!5157
parents 85ed7b57 5ecd4bc9
No related branches found
No related tags found
Loading
...@@ -3,7 +3,7 @@ if(NOT (OGS_COVERAGE AND PROJECT_IS_TOP_LEVEL)) ...@@ -3,7 +3,7 @@ if(NOT (OGS_COVERAGE AND PROJECT_IS_TOP_LEVEL))
endif() endif()
if(CMAKE_CXX_COMPILER_ID MATCHES "GNU|Clang") if(CMAKE_CXX_COMPILER_ID MATCHES "GNU|Clang")
set(CMAKE_CXX_FLAGS_DEBUG "-g -Og --coverage") set(CMAKE_CXX_FLAGS_DEBUG "-g -Og -DEIGEN_NO_DEBUG --coverage")
if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU") if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
string(APPEND CMAKE_CXX_FLAGS_DEBUG " -fprofile-abs-path") string(APPEND CMAKE_CXX_FLAGS_DEBUG " -fprofile-abs-path")
endif() endif()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment