Skip to content

Commit

Permalink
Fix c++ code coverage didn't show cc files (#193)
Browse files Browse the repository at this point in the history
  • Loading branch information
HTHou authored Aug 1, 2024
1 parent 5496ed3 commit 8f17b99
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cpp/src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ under the License.
]]
message("Running in src diectory")
include(${PROJECT_SOURCE_DIR}/cmake/build_function.cmake)
if (${COV_ENABLED})
add_compile_options(-fprofile-arcs -ftest-coverage)
endif ()
add_subdirectory(common)
add_subdirectory(compress)
add_subdirectory(cwrapper)
Expand Down

0 comments on commit 8f17b99

Please sign in to comment.