Skip to content

Commit

Permalink
feat: modify gcovr
Browse files Browse the repository at this point in the history
  • Loading branch information
artikell committed May 24, 2024
1 parent 1899537 commit 9177500
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ project(valkeyexample)

set(CMAKE_CXX_STANDARD 14)
set(VALKEY_SOURCE_DIR ${PROJECT_SOURCE_DIR}/thirdparty/valkey)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g -O0 --coverage")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g -O0 --coverage -fprofile-arcs -ftest-coverage")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -g -O0 --coverage -fprofile-arcs -ftest-coverage")

include_directories(${VALKEY_SOURCE_DIR}/src/)

Expand Down

0 comments on commit 9177500

Please sign in to comment.