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

[tf2_ros, tf2_geometry_msgs] export targets in addition to include directories / libraries #271

Merged
merged 4 commits into from
Jun 4, 2020

Conversation

dirk-thomas
Copy link
Member

Necessary to make downstream packages like rviz_common which already use modern CMake targets relocatable.

See ros2/rviz#554 and ros2/rviz#556.

Signed-off-by: Dirk Thomas <dirk-thomas@users.noreply.github.com>
@dirk-thomas dirk-thomas added the bug Something isn't working label Jun 2, 2020
@dirk-thomas dirk-thomas self-assigned this Jun 2, 2020
Signed-off-by: Dirk Thomas <dirk-thomas@users.noreply.github.com>
Copy link
Member

@jacobperron jacobperron left a comment

Choose a reason for hiding this comment

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

LGTM

@dirk-thomas
Copy link
Member Author

CI see ros2/message_filters#46.

… / libraries

Signed-off-by: Dirk Thomas <dirk-thomas@users.noreply.github.com>
@dirk-thomas dirk-thomas changed the title [tf2_ros] export targets in addition to include directories / libraries [tf2_ros, tf2_geometry_msgs] export targets in addition to include directories / libraries Jun 3, 2020
Copy link
Contributor

@clalancette clalancette left a comment

Choose a reason for hiding this comment

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

I'll note that this overlaps somewhat with #269. That's fine, I can rebase that one later. But I'd also be careful to run some of the same tests in CI that failed there; namely, make sure to run rviz_common and rviz_default_plugins tests.

tf2_geometry_msgs/CMakeLists.txt Outdated Show resolved Hide resolved
@dirk-thomas
Copy link
Member Author

dirk-thomas commented Jun 3, 2020

But I'd also be careful to run some of the same tests in CI that failed there; namely, make sure to run rviz_common and rviz_default_plugins tests.

Another full CI of this branch (which includes ros2/message_filters#46):

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

…to_package()

Signed-off-by: Dirk Thomas <dirk-thomas@users.noreply.github.com>
Copy link
Member

@jacobperron jacobperron left a comment

Choose a reason for hiding this comment

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

This patch (with connected PRs) resolves ros2/rviz#554 and (partially) ros2/rviz#556 for me. CI also LGTM.

For ros2/rviz#556, I still see cmake errors related to rclcpp as noted in ros2/rviz#556 (comment).

I think we should go ahead and merge.

@dirk-thomas dirk-thomas merged commit 5880ce9 into ros2 Jun 4, 2020
@delete-merged-branch delete-merged-branch bot deleted the dirk-thomas/export-targets branch June 4, 2020 01:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants