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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user