mirror of
https://github.com/weechat/weechat.git
synced 2026-06-26 12:56:37 +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:
@@ -27,7 +27,7 @@ set_target_properties(javascript PROPERTIES PREFIX "")
|
||||
|
||||
if(V8_FOUND)
|
||||
include_directories(${V8_INCLUDE_DIR})
|
||||
target_link_libraries(javascript ${V8_LIBRARY} weechat_plugins_scripts)
|
||||
target_link_libraries(javascript ${V8_LIBRARY} weechat_plugins_scripts coverage_config)
|
||||
endif()
|
||||
|
||||
install(TARGETS javascript LIBRARY DESTINATION ${LIBDIR}/plugins)
|
||||
|
||||
Reference in New Issue
Block a user