Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ target_link_libraries(${rosidl_generate_interfaces_TARGET}${_target_suffix} PUBL
rosidl_typesupport_fastrtps_cpp::rosidl_typesupport_fastrtps_cpp
rosidl_typesupport_fastrtps_c::rosidl_typesupport_fastrtps_c)

if(NOT WIN32)
if(NOT MSVC AND NOT MSVC_IDE)
set(_target_compile_flags -Wall -Wextra -Wpedantic)
else()
set(_target_compile_flags /W4)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ set_target_properties(${rosidl_generate_interfaces_TARGET}${_target_suffix}
CXX_STANDARD 17)

# Set compiler flags
if(NOT WIN32)
if(NOT MSVC AND NOT MSVC_IDE)
set(_target_compile_flags -Wall -Wextra -Wpedantic -Wredundant-decls)
else()
set(_target_compile_flags /W4)
Expand Down