forked from ros-navigation/navigation2
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use ament_export_targets for all targets (ros-navigation#4112)
* Matches new internal ALIAS targets * Use ALIAS targets for all internal linkage * Remove unnecessary calls to ament_target_dependencies in test code * Export includes in proper folders for overlays in colcon Signed-off-by: Ryan Friedman <[email protected]> Signed-off-by: stevedan <[email protected]>
- Loading branch information
1 parent
663ea0a
commit e0064a5
Showing
4 changed files
with
64 additions
and
84 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
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,57 +1,58 @@ | ||
ament_add_gtest(collision_footprint_test footprint_collision_checker_test.cpp) | ||
target_link_libraries(collision_footprint_test | ||
nav2_costmap_2d_core | ||
${PROJECT_NAME}::nav2_costmap_2d_core | ||
) | ||
|
||
ament_add_gtest(costmap_convesion_test costmap_conversion_test.cpp) | ||
target_link_libraries(costmap_convesion_test | ||
nav2_costmap_2d_core | ||
${PROJECT_NAME}::nav2_costmap_2d_core | ||
) | ||
|
||
ament_add_gtest(declare_parameter_test declare_parameter_test.cpp) | ||
target_link_libraries(declare_parameter_test | ||
nav2_costmap_2d_core | ||
${PROJECT_NAME}::nav2_costmap_2d_core | ||
) | ||
|
||
ament_add_gtest(costmap_filter_test costmap_filter_test.cpp) | ||
target_link_libraries(costmap_filter_test | ||
nav2_costmap_2d_core | ||
${PROJECT_NAME}::nav2_costmap_2d_core | ||
) | ||
|
||
ament_add_gtest(keepout_filter_test keepout_filter_test.cpp) | ||
target_link_libraries(keepout_filter_test | ||
nav2_costmap_2d_core | ||
filters | ||
${PROJECT_NAME}::nav2_costmap_2d_core | ||
${PROJECT_NAME}::filters | ||
) | ||
|
||
ament_add_gtest(speed_filter_test speed_filter_test.cpp) | ||
target_link_libraries(speed_filter_test | ||
nav2_costmap_2d_core | ||
filters | ||
${PROJECT_NAME}::nav2_costmap_2d_core | ||
${PROJECT_NAME}::filters | ||
) | ||
|
||
ament_add_gtest(binary_filter_test binary_filter_test.cpp) | ||
target_link_libraries(binary_filter_test | ||
nav2_costmap_2d_core | ||
filters | ||
${PROJECT_NAME}::nav2_costmap_2d_core | ||
${PROJECT_NAME}::filters | ||
) | ||
|
||
ament_add_gtest(copy_window_test copy_window_test.cpp) | ||
target_link_libraries(copy_window_test | ||
nav2_costmap_2d_core | ||
${PROJECT_NAME}::nav2_costmap_2d_core | ||
) | ||
|
||
ament_add_gtest(costmap_filter_service_test costmap_filter_service_test.cpp) | ||
target_link_libraries(costmap_filter_service_test | ||
nav2_costmap_2d_core | ||
${PROJECT_NAME}::nav2_costmap_2d_core | ||
) | ||
|
||
ament_add_gtest(denoise_layer_test denoise_layer_test.cpp image_test.cpp image_processing_test.cpp) | ||
target_link_libraries(denoise_layer_test | ||
nav2_costmap_2d_core layers | ||
${PROJECT_NAME}::nav2_costmap_2d_core | ||
${PROJECT_NAME}::layers | ||
) | ||
|
||
ament_add_gtest(lifecycle_test lifecycle_test.cpp) | ||
target_link_libraries(lifecycle_test | ||
nav2_costmap_2d_core | ||
${PROJECT_NAME}::nav2_costmap_2d_core | ||
) |