Add compile commands

This commit is contained in:
realaltffour 2020-04-18 11:39:13 +03:00
parent 951e5b9954
commit d79da1f81d
No known key found for this signature in database
GPG Key ID: 7115CD2AC9A76A56
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ if (CMAKE_COMPILER_IS_GNUCC)
option(ENABLE_COVERAGE "Enable coverage reporting" FALSE)
if (ENABLE_COVERAGE)
add_compile_options(--coverage -O0)
add_compile_options(--coverage -O0 -fprofile-arcs -ftest-coverage)
endif()
endif()