Skip to content

Commit

Permalink
Add in cppcheck manually.
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Lalancette <[email protected]>
  • Loading branch information
clalancette committed Jan 2, 2024
1 parent 17d2711 commit 65e8e28
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rclcpp_lifecycle/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,11 @@ if(BUILD_TESTING)
find_package(ament_lint_auto REQUIRED)
# Give cppcheck hints about macro definitions coming from outside this package
set(ament_cmake_cppcheck_ADDITIONAL_INCLUDE_DIRS ${rclcpp_INCLUDE_DIRS})
list(APPEND AMENT_LINT_AUTO_EXCLUDE "ament_cmake_cppcheck")
ament_lint_auto_find_test_dependencies()

find_package(ament_cmake_cppcheck REQUIRED)
# cppcheck is being added elsewhere
ament_cppcheck()
set_tests_properties(cppcheck PROPERTIES TIMEOUT 360)

find_package(performance_test_fixture REQUIRED)
Expand Down

0 comments on commit 65e8e28

Please sign in to comment.