added comments for how to add coverage

This commit is contained in:
Emily Bache 2020-02-04 14:42:29 +01:00
parent 6bd9e8e389
commit c709b8bab5

View File

@ -28,6 +28,9 @@ endif()
# Bring the populated content into the build # Bring the populated content into the build
add_subdirectory(${googletest_SOURCE_DIR} ${googletest_BINARY_DIR}) add_subdirectory(${googletest_SOURCE_DIR} ${googletest_BINARY_DIR})
# uncomment this line to enable coverage measurements using gcov
# set(CMAKE_CXX_FLAGS "--coverage")
enable_testing() enable_testing()
add_subdirectory(src) add_subdirectory(src)
add_subdirectory(lib) add_subdirectory(lib)