Best practice for ros2 cpp dependencies
- expected environment: ros2 all version
Details of the problem / Steps to reproduce the error
No response
Answer 1
- author: julyfun@github
- verified date: 24.7.29
-
verified environment: As in the problem
-
ref: https://gitlab.com/rm_vision/rm_auto_aim/-/tree/main?ref_type=heads
Check the folder here: https://github.com/julyfun/jst.fish/tree/main/t/ros2
It provides a minimal solution for ros2 cpp find dependencies. ament_auto_find_build_dependencies
and so-like commands in cmake have magic.