Add compile commands
This commit is contained in:
parent
951e5b9954
commit
d79da1f81d
|
@ -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()
|
||||
|
||||
|
|
Loading…
Reference in New Issue