1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-03 16:23:14 +02:00

core: add CMake option "ENABLE_CODE_COVERAGE" to compile with code coverage options

This option is OFF by default and should be enabled only for tests, to measure
test coverage.
This commit is contained in:
Sébastien Helleu
2019-03-24 09:02:04 +01:00
parent 47c4329404
commit 2612adf899
35 changed files with 107 additions and 66 deletions
+1 -1
View File
@@ -34,6 +34,6 @@ set(LINK_LIBS)
list(APPEND LINK_LIBS ${ZLIB_LIBRARY})
list(APPEND LINK_LIBS ${GCRYPT_LDFLAGS})
target_link_libraries(script ${LINK_LIBS})
target_link_libraries(script ${LINK_LIBS} coverage_config)
install(TARGETS script LIBRARY DESTINATION ${LIBDIR}/plugins)