Skip to content

Commit

Permalink
added coverage flags
Browse files Browse the repository at this point in the history
  • Loading branch information
klaxalk committed Dec 7, 2023
1 parent b22362e commit bf3d131
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,17 @@ target_link_libraries(MrsUavHwApi_DummyApi
${catkin_LIBRARIES}
)

## --------------------------------------------------------------
## | Testing |
## --------------------------------------------------------------

if(CATKIN_ENABLE_TESTING)

set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} --coverage")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} --coverage")

endif()

## --------------------------------------------------------------
## | Install |
## --------------------------------------------------------------
Expand Down

0 comments on commit bf3d131

Please sign in to comment.