Skip to content

Commit

Permalink
geometry: linting
Browse files Browse the repository at this point in the history
  • Loading branch information
gleichdick committed May 29, 2021
1 parent 005db7c commit 455d7bb
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tf2_geometry_msgs/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,15 @@ ament_auto_find_build_dependencies(REQUIRED ${required_dependencies})

if(BUILD_TESTING)
find_package(ament_cmake_gtest REQUIRED)
find_package(ament_lint_auto REQUIRED)
find_package(rclcpp REQUIRED)

# TODO(ros2/geometry2#259) Remove once headers
# are renamed to .hpp
set(ament_cmake_uncrustify_ADDITIONAL_ARGS --language CPP)
set(ament_cmake_cppcheck_LANGUAGE c++)
ament_lint_auto_find_test_dependencies()

ament_add_gtest(test_tf2_geometry_msgs test/test_tf2_geometry_msgs.cpp)
if(TARGET test_tf2_geometry_msgs)
target_include_directories(test_tf2_geometry_msgs PUBLIC include)
Expand Down
2 changes: 2 additions & 0 deletions tf2_geometry_msgs/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@
<exec_depend>tf2_ros_py</exec_depend>

<test_depend>ament_cmake_gtest</test_depend>
<test_depend>ament_lint_auto</test_depend>
<test_depend>ament_lint_common</test_depend>
<test_depend>rclcpp</test_depend>

<export>
Expand Down

0 comments on commit 455d7bb

Please sign in to comment.