Implements support for test coverage.
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Deukhoofd 2019-12-19 11:40:59 +01:00
parent db002c784f
commit 573ff56bb6
Signed by: Deukhoofd
GPG Key ID: ADF2E9256009EDCE
1 changed files with 4 additions and 2 deletions

View File

@ -49,3 +49,5 @@ endif(WINDOWS)
# Add a definition for the test library
target_compile_definitions(CreatureLibTests PRIVATE TESTS_BUILD)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} --coverage")