colcon build warnings are suppressed
This commit is contained in:
parent
115b01c939
commit
e0e8fb180d
|
|
@ -11,6 +11,9 @@ if(NOT CMAKE_CXX_STANDARD)
|
|||
set(CMAKE_CXX_STANDARD 14)
|
||||
endif()
|
||||
|
||||
# Suppress all warnings
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -w")
|
||||
|
||||
if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
|
||||
add_compile_options(-Wall -Wextra -Wpedantic)
|
||||
endif()
|
||||
|
|
|
|||
Loading…
Reference in New Issue