gardening

This commit is contained in:
Radovan Bast
2015-06-01 15:44:26 +02:00
parent eca4fb5bee
commit d325282a76
4 changed files with 8 additions and 113 deletions

View File

@ -7,6 +7,12 @@ if(ENABLE_CODE_COVERAGE)
endif()
endif()
if(DEFINED CMAKE_C_COMPILER_ID)
if(CMAKE_C_COMPILER_ID MATCHES GNU)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fprofile-arcs -ftest-coverage")
endif()
endif()
if(DEFINED CMAKE_CXX_COMPILER_ID)
if(CMAKE_CXX_COMPILER_ID MATCHES GNU)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fprofile-arcs -ftest-coverage")