1
0

Working coverage build

This commit is contained in:
tycho 2015-12-15 20:52:38 +00:00 committed by Mattes D
parent a7d0abcdc1
commit 91d0abae4c
3 changed files with 6 additions and 1 deletions

View File

@ -288,6 +288,7 @@ macro(set_exe_flags)
if ("${CLANG_VERSION}" VERSION_GREATER 3.5)
add_flags_cxx("-Wno-error=disabled-macro-expansion")
endif()
add_flags_cxx("-Wno-error=unused-command-line-argument")
endif()
endif()

@ -1 +1 @@
Subproject commit fde8c1ef14684d763e7728dda98d49f2330534d1
Subproject commit 25af3c657e42543e3e8b43378ebc5381e6260daa

View File

@ -2,6 +2,10 @@ cmake_minimum_required (VERSION 2.6)
enable_testing()
if (CMAKE_BUILD_TYPE STREQUAL "COVERAGE")
setup_target_for_coverage("${PROJECT_NAME}_coverage" "ctest" coverage)
endif()
include_directories(${CMAKE_CURRENT_SOURCE_DIR})
add_subdirectory(ChunkData)