Skip to content

Commit

Permalink
Revert to old coverage settings
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-jszczerbinski committed Dec 13, 2024
1 parent 4d5da2d commit 5bf753f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/flags.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ if (LINUX)
# Code coverage for Linux
if (CLIENT_CODE_COVERAGE) # Only when code coverage is enabled
message("Code coverage is enabled CLIENT_CODE_COVERAGE=" ${CLIENT_CODE_COVERAGE})
add_compile_options(--coverage -O0 $<$<COMPILE_LANGUAGE:CXX>:-fno-elide-constructors> -fno-inline -fno-inline-small-functions -fno-default-inline)
add_compile_options(--coverage -O0 $<$<COMPILE_LANGUAGE:CXX>:-fno-elide-constructors> $<$<COMPILE_LANGUAGE:CXX>:-fno-inline> $<$<COMPILE_LANGUAGE:CXX>:-fno-inline-small-functions> $<$<COMPILE_LANGUAGE:CXX>:-fno-default-inline>)
add_link_options(--coverage)
else()
message("Code coverage is disabled CLIENT_CODE_COVERAGE=" ${CLIENT_CODE_COVERAGE})
Expand Down

0 comments on commit 5bf753f

Please sign in to comment.