Commit 21dfb212 authored by Albert Astals Cid's avatar Albert Astals Cid

See if this gives us coverage support

parent 29b2b92d
......@@ -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 )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment