You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can list more if I search more in the ros2 source code. I have to say, those usage really confused me. For PRIVATE dependencies, I don't think it's necessary to export them.
I can list more if I search more in the ros2 source code. I have to say, those usage really confused me. For PRIVATE dependencies, I don't think it's necessary to export them.
You are correct. For PRIVATE dependencies, they should not be exported. Those are bugs, so if you'd like to open PRs to fix that, I'd be happy to review them.
Hi,
I see several examples in ROS2 code that
ament_export_dependencies
is used forPRIVATE
dependencies, likehttps://github.com/ros/kdl_parser/blob/jazzy/kdl_parser/CMakeLists.txt#L28
and it's exported:
https://github.com/ros/kdl_parser/blob/jazzy/kdl_parser/CMakeLists.txt#L59
https://github.com/ros-perception/image_common/blob/jazzy/camera_calibration_parsers/CMakeLists.txt#L33
and it's exported:
https://github.com/ros-perception/image_common/blob/jazzy/camera_calibration_parsers/CMakeLists.txt#L88
I can list more if I search more in the ros2 source code. I have to say, those usage really confused me. For PRIVATE dependencies, I don't think it's necessary to export them.
Before I raise an issue for those projects, I'd like to make sure the usage of
ament_export_dependencies
forPRIVATE
dependencies, it's not mentioned here https://docs.ros.org/en/jazzy/How-To-Guides/Ament-CMake-Documentation.htmlThe text was updated successfully, but these errors were encountered: