Code coverage updates (#50)

* code coverage updates

- python support
- refactored source

* remove code_coverage::operator+ and operator+=

* impl/coverage.hpp
This commit is contained in:
Jonathan R. Madsen
2022-05-08 01:40:56 -05:00
committed by GitHub
vanhempi 1f66e23fdd
commit 134b33320d
9 muutettua tiedostoa jossa 611 lisäystä ja 183 poistoa
+5 -1
Näytä tiedosto
@@ -16,6 +16,7 @@ function(OMNITRACE_CONFIGURE_PYTARGET _TARGET _VERSION)
add_library(omnitrace::${_TARGET} ALIAS ${_TARGET})
target_link_libraries(${_TARGET} PRIVATE libpyomnitrace-interface)
add_dependencies(libpyomnitrace ${_TARGET})
set_target_properties(
${_TARGET}
@@ -86,7 +87,8 @@ target_link_libraries(
omnitrace::omnitrace-python
omnitrace::omnitrace-python-compile-options)
target_compile_definitions(libpyomnitrace-interface INTERFACE OMNITRACE_PYBIND11_SOURCE)
omnitrace_target_compile_definitions(libpyomnitrace-interface
INTERFACE OMNITRACE_PYBIND11_SOURCE)
include(PyBind11Tools)
@@ -160,6 +162,8 @@ omnitrace_watch_for_change(OMNITRACE_PYTHON_VERSIONS)
omnitrace_check_python_dirs_and_versions(FAIL)
add_custom_target(libpyomnitrace)
file(GLOB_RECURSE PYTHON_FILES ${CMAKE_CURRENT_SOURCE_DIR}/omnitrace/*.py)
foreach(_IN ${PYTHON_FILES})
string(REPLACE "${CMAKE_CURRENT_SOURCE_DIR}/omnitrace"