Ask Your Question

ament_export_targets vs ament_export_interfaces

asked 2021-02-18 12:32:31 -0600

In reference to this on ROS Discourse:

What is the difference practically between these two lines and when should I use one over the other?

ament_export_targets(export_${PROJECT_NAME} HAS_LIBRARY_TARGET)

and this one (as shown in the example at that link):


edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2021-02-18 13:11:08 -0600

Replying to my own question. I found in the official documentation (here: this:

The ament_export_targets macro (ament_export_interfaces in Eloquent and older) exports the targets for CMake.

This seems to imply that ament_export_targets is a rename of ament_export_interfaces and should now be used instead.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools



Asked: 2021-02-18 12:32:31 -0600

Seen: 127 times

Last updated: Feb 18