-
Notifications
You must be signed in to change notification settings - Fork 118
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ament_target_dependencies] pick up imported interfaces #178
Conversation
…aries Signed-off-by: Daniel Stonier <d.stonier@gmail.com>
Is more needed for transitive dependencies? It looks like |
Not sure I'm quite catching your concern. The exporting/importing of targets is going via Transitive dependencies should be fine - all defns, include paths, libraries, compiler flags get wrapped up in the imported targets and passed along via the target_link_libraries call (admittedly, it's initially confusing that target_link_libraries handles it all now). This is different to the older cmake style where you had to manage them all independently. |
I mistakenly thought
It looks like |
CI failed with:
Which is caused by This PR seems like the right thing to do, but I think it should go in after a fix for #183. Otherwise it may cause configure-time failures of projects that are currently ignoring the |
@dirk-thomas It looks like this is blocked by #183, and there's been no progress on that as far as I know. |
Thanks for creating this PR. #232 implemented the same change just slightly different. |
Problem to Solve
Allow this function to work with packages that only use the more recent export/import target style via
ament_export_interfaces
andament_export_dependencies
.