Repository navigation
Removed deprecated ament_cmake_target_dependencies - #583
Conversation
Signed-off-by: Alejandro Hernandez Cordero <[email protected]>
|
Pulls: #583 |
|
Removing this function only after a 2-months deprecation phase (#572) seems to be very quick! |
|
happy to help opening PRs, do you have a list of the failing packages? |
No, I don't have a complete list. But, most MoveIt-related packages are not yet adapted (although we already have PRs for many of them). |
|
It's a shame this nice deprecation message was so short-lived. I ran into this compilation error without ever knowing there was a deprecation. Can we perhaps fail but with this nice deprecation message? That's much easier to fix 🙂 |
|
I agree, the release including #572 never got synced and people might not have been aware of that. |
ament_target_dependencies is deprecated [1] and was removed in ROS
Lyrical [2]. This commit replaces calls to ament_target_dependencies
with plain CMake command target_link_libraries as suggested in [1].
While [1] suggested to replace interface packages with ${xxx_TARGETS},
this is not necessary since [3]. Therefore, this commit replaces every
"xxx" package with "xxx::xxx" target.
Compilation was tested under ROS Jazzy and Lyrical.
[1]: ament/ament_cmake#572
[2]: ament/ament_cmake#583
[3]: ros2/rosidl#947
Removed
ament_cmake_target_dependencies