1 2 3 4 5 6 7 8 9 10 11 12
set(TestsExpectedToPass ) # Enable gcov output for the tests add_definitions(--coverage) set(CMAKE_EXE_LINKER_FLAGS ${CMAKE_EXE_LINKER_FLAGS} " --coverage") foreach(test ${TestsExpectedToPass}) AddTest(${test}) endforeach()