mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-12-23 21:57:46 +00:00
Added coverage g++ commands
Signed-off-by: Jacob Torrey <torreyj@ainfosec.com>
This commit is contained in:
parent
497b24f25f
commit
fe4992b1dc
1 changed files with 2 additions and 2 deletions
|
@ -392,9 +392,9 @@ else()
|
||||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DGTEST_HAS_TR1_TUPLE=0")
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DGTEST_HAS_TR1_TUPLE=0")
|
||||||
endif()
|
endif()
|
||||||
if(CMAKE_C_COMPILER_ID STREQUAL "GNU" AND NOT (CMAKE_C_COMPILER_VERSION VERSION_LESS 4.8))
|
if(CMAKE_C_COMPILER_ID STREQUAL "GNU" AND NOT (CMAKE_C_COMPILER_VERSION VERSION_LESS 4.8))
|
||||||
set(DEBUG_FLAGS "-g3 -Og")
|
set(DEBUG_FLAGS "-g3 -Og -Wall -fprofile-arcs -ftest-coverage --coverage")
|
||||||
else()
|
else()
|
||||||
set(DEBUG_FLAGS "-g3 -O0")
|
set(DEBUG_FLAGS "-g3 -O0 -Wall -fprofile-arcs -ftest-coverage --coverage")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(NOT DEFINED USE_LTO_DEFAULT)
|
if(NOT DEFINED USE_LTO_DEFAULT)
|
||||||
|
|
Loading…
Reference in a new issue