ament_target_dependencies vs target_link_libraries

asked 2020-06-28 23:11:37 -0500

Rufus gravatar image

In the tutorial for adding dependencies, it mentions

Sometimes it will be necessary to call the target_link_libaries CMake function

What are the situations where I should use ament_target_dependencies and when should I use target_link_libraries? I also notice that there are occasions where I need both for the dependencies to be correctly added.

edit retag flag offensive close merge delete