diff --git a/rosidl_typesupport_fastrtps_c/cmake/rosidl_typesupport_fastrtps_c_generate_interfaces.cmake b/rosidl_typesupport_fastrtps_c/cmake/rosidl_typesupport_fastrtps_c_generate_interfaces.cmake index 9782a3d..4af57d8 100644 --- a/rosidl_typesupport_fastrtps_c/cmake/rosidl_typesupport_fastrtps_c_generate_interfaces.cmake +++ b/rosidl_typesupport_fastrtps_c/cmake/rosidl_typesupport_fastrtps_c_generate_interfaces.cmake @@ -221,7 +221,8 @@ if(BUILD_TESTING AND rosidl_generate_interfaces_ADD_LINTER_TESTS) ament_uncrustify( TESTNAME "uncrustify_rosidl_typesupport_fastrtps_c" # the generated code might contain longer lines for templated types - MAX_LINE_LENGTH 999 + # set the value to zero to tell uncrustify to ignore line lengths + MAX_LINE_LENGTH 0 ${_generated_files}) endif() endif() diff --git a/rosidl_typesupport_fastrtps_cpp/cmake/rosidl_typesupport_fastrtps_cpp_generate_interfaces.cmake b/rosidl_typesupport_fastrtps_cpp/cmake/rosidl_typesupport_fastrtps_cpp_generate_interfaces.cmake index a756173..15157c8 100644 --- a/rosidl_typesupport_fastrtps_cpp/cmake/rosidl_typesupport_fastrtps_cpp_generate_interfaces.cmake +++ b/rosidl_typesupport_fastrtps_cpp/cmake/rosidl_typesupport_fastrtps_cpp_generate_interfaces.cmake @@ -218,7 +218,8 @@ if(BUILD_TESTING AND rosidl_generate_interfaces_ADD_LINTER_TESTS) ament_uncrustify( TESTNAME "uncrustify_rosidl_typesupport_fastrtps_cpp" # the generated code might contain longer lines for templated types - MAX_LINE_LENGTH 999 + # set the value to zero to tell uncrustify to ignore line lengths + MAX_LINE_LENGTH 0 ${_generated_files}) endif() endif()