diff options
author | Jacob Torrey <torreyj@ainfosec.com> | 2016-08-22 15:26:52 -0600 |
---|---|---|
committer | Jacob Torrey <torreyj@ainfosec.com> | 2016-08-26 14:03:27 -0600 |
commit | fe4992b1dc6cc90f02d698a17cdfae02ef67f41a (patch) | |
tree | 03357d1a7ce0b857544381ba3a9b81c00592c3b0 | |
parent | Update .travis.yml (diff) | |
download | monero-fe4992b1dc6cc90f02d698a17cdfae02ef67f41a.tar.xz |
Added coverage g++ commands
Signed-off-by: Jacob Torrey <torreyj@ainfosec.com>
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 5ac4a2f95..de0bb3a5e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -392,9 +392,9 @@ else() set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DGTEST_HAS_TR1_TUPLE=0") endif() 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() - set(DEBUG_FLAGS "-g3 -O0") + set(DEBUG_FLAGS "-g3 -O0 -Wall -fprofile-arcs -ftest-coverage --coverage") endif() if(NOT DEFINED USE_LTO_DEFAULT) |