Skip to content

Commit

Permalink
updated flags
Browse files Browse the repository at this point in the history
  • Loading branch information
klaxalk committed Dec 9, 2023
1 parent f4b5dbe commit 0710d15
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ generate_dynamic_reconfigure_options(
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

add_definitions(-Wall)
add_definitions(-Wextra)

if(COVERAGE)
message(WARNING "building with --coverage, the performance might be limited")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} --coverage")
Expand Down

0 comments on commit 0710d15

Please sign in to comment.