summaryrefslogtreecommitdiffstats
path: root/cmake-e/cmake/Modules/EFLCheck.cmake
blob: f72932533bb1412141508bbebb6b1ead04b1fc40 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
include(CTest)
ENABLE_TESTING()
add_custom_target(check COMMAND ${CMAKE_CTEST_COMMAND} --output-on-failure)

find_package(Check)
set (CHECK_ENABLED ${CHECK_FOUND})

set(EFL_COVERAGE false CACHE BOOL "Whether coverage support should be built.'")
if (EFL_COVERAGE)
   include(EFLlcov REQUIRED)
   ENABLE_COVERAGE()
endif (EFL_COVERAGE)