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

Generalize gz vendor use and modernize CMake #232

Merged
merged 3 commits into from
Sep 19, 2024

Conversation

j-rivero
Copy link
Contributor

Description

I was testing the use of upcoming Gazebo Ionic with current jazzy branch (it is using Gazebo Harmonic by default) and found that the use of the new vendor packages could be improved and corrected according to https://gazebosim.org/docs/ionic/ros2_gz_vendor_pkgs/#cmakelists-txt-for-building-with-gazebo-vendor-packages

I've also modernize the CMake a bit to solve problems with exporting the necessary linking.

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)

How Has This Been Tested?

I test the compilation using Gazebo Ionic in a docker container.

Checklist

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation

@alsora
Copy link
Contributor

alsora commented Sep 18, 2024

The changes look good to me, but the CI Is failing because it can't find one of the new cmake targets

@j-rivero
Copy link
Contributor Author

The changes look good to me, but the CI Is failing because it can't find one of the new cmake targets

Ouch sorry. It should be fixed now.

@alsora
Copy link
Contributor

alsora commented Sep 19, 2024

Thanks, there's a few linter errors, would you mind fixing them?

Then we should be good to merge

@alsora alsora merged commit 63e1c4c into iRobotEducation:jazzy Sep 19, 2024
1 check passed
alsora pushed a commit that referenced this pull request Sep 19, 2024
* Generalize gz vendor use and modernize CMake

Signed-off-by: Jose Luis Rivero <[email protected]>

* Do not use component targets in ament_target_dependencies

* Fix indentation

---------

Signed-off-by: Jose Luis Rivero <[email protected]>
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.

2 participants