-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch opennav_docking_bt to modern CMake idioms. (#4631)
Signed-off-by: Chris Lalancette <clalancette@gmail.com>
- Loading branch information
1 parent
ebd9ee1
commit e722563
Showing
3 changed files
with
66 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,21 @@ | ||
# Cancel test | ||
ament_add_gtest(test_dock_robot test_dock_robot.cpp) | ||
target_link_libraries(test_dock_robot opennav_dock_action_bt_node) | ||
ament_target_dependencies(test_dock_robot ${dependencies}) | ||
target_link_libraries(test_dock_robot | ||
behaviortree_cpp::behaviortree_cpp | ||
${geometry_msgs_TARGETS} | ||
${nav2_msgs_TARGETS} | ||
opennav_dock_action_bt_node | ||
rclcpp::rclcpp | ||
rclcpp_action::rclcpp_action | ||
) | ||
|
||
# Make command test | ||
ament_add_gtest(test_undock_robot test_undock_robot.cpp) | ||
target_link_libraries(test_undock_robot opennav_undock_action_bt_node) | ||
ament_target_dependencies(test_undock_robot ${dependencies}) | ||
target_link_libraries(test_undock_robot | ||
behaviortree_cpp::behaviortree_cpp | ||
${geometry_msgs_TARGETS} | ||
${nav2_msgs_TARGETS} | ||
opennav_undock_action_bt_node | ||
rclcpp::rclcpp | ||
rclcpp_action::rclcpp_action | ||
) |