From ce719a0fe234ed6ed915b1cd68ca0915ee20ddfd Mon Sep 17 00:00:00 2001 From: jgoppert Date: Wed, 4 Nov 2015 02:01:31 -0500 Subject: [PATCH] Added cov sources. --- CMakeLists.txt | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 54b9b154fd..eabcb7919f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -32,18 +32,14 @@ list(APPEND CMAKE_CXX_FLAGS -Werror -Wfatal-errors ) -if (COVERAGE) - list(APPEND CMAKE_CXX_FLAGS - -fprofile-arcs - -ftest-coverage - ) -endif() string(REPLACE ";" " " CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}") enable_testing() include_directories(matrix) +file(GLOB_RECURSE COV_SRCS matrix/*.h*) + # Setup the coveralls target and tell it to gather # coverage data for all the lib sources. if (COVERALLS)