See if this gives us coverage support

remotes/origin/Applications/15.12
Albert Astals Cid 11 years ago
parent 29b2b92d02
commit 21dfb2127f
  1. 7
      CMakeLists.txt

@ -27,6 +27,13 @@ include_directories(
core/synctex
)
option(BUILD_COVERAGE "Build the project with gcov support" OFF)
if(BUILD_COVERAGE)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fprofile-arcs -ftest-coverage")
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -lgcov")
endif()
add_subdirectory( active )
add_subdirectory( ui )
add_subdirectory( shell )

Loading…
Cancel
Save