Skip to content
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

Use rosidl_get_typesupport_target and target_link_libraries #57

Merged
merged 2 commits into from
Mar 24, 2022

Conversation

sloretz
Copy link
Contributor

@sloretz sloretz commented Feb 24, 2022

This package is currently hard-coding the include directories for the generator packages it depends on. This makes it use rosidl_get_typesupport_target() insteadl. I also made it use target_link_libraries instead of ament_target_dependencies.

I think this depends on ros2/rosidl_typesupport#123, but I don't remember why (Edit: I think it needs that cleanup PR to get the dependency on rosidl_generator_c transitively from rosidl_generator_cpp instead of hard coding both)

Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>
Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>
@sloretz
Copy link
Contributor Author

sloretz commented Mar 8, 2022

@hidmic I've added you as a reviewer, but this one seems to depend on ros2/rosidl_typesupport#123 which depends on ros2/rosidl#662, so I've left it as a draft for now.

Copy link
Contributor

@hidmic hidmic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM pending green CI

@sloretz sloretz marked this pull request as ready for review March 23, 2022 23:41
@sloretz
Copy link
Contributor Author

sloretz commented Mar 23, 2022

CI (build: --packages-above-and-dependencies rmw_dds_common test: --packages-select rmw_dds_common)

  • Linux Build Status
  • Linux-aarch64 Build Status
  • Windows Build Status

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants