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

Export a modern CMake target instead of variables and install includes to include/${PROJECT_NAME} #218

Merged
merged 11 commits into from
Dec 24, 2021

Conversation

sloretz
Copy link
Contributor

@sloretz sloretz commented Dec 6, 2021

Part of ament/ament_cmake#365
Part of ament/ament_cmake#292
Part of ros2/ros2#1150

This makes camera_calibration_parsers export a modern CMake target instead of old-style variables. It also makes it install includes to include/${PROJECT_NAME} to mitigate include directory search order issues when overriding packages.

@sloretz sloretz self-assigned this Dec 6, 2021
@sloretz
Copy link
Contributor Author

sloretz commented Dec 6, 2021

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

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

@sloretz sloretz changed the title Export a modern CMake target instead of variables Export a modern CMake target instead of variables and install includes to include/${PROJECT_NAME} Dec 22, 2021
Signed-off-by: Shane Loretz <[email protected]>
Signed-off-by: Shane Loretz <[email protected]>
Signed-off-by: Shane Loretz <[email protected]>
Signed-off-by: Shane Loretz <[email protected]>
Signed-off-by: Shane Loretz <[email protected]>
@gbiggs gbiggs merged commit 6d777b5 into ros2 Dec 24, 2021
@gbiggs gbiggs deleted the camera_calibration_parser__export_targets_not_variables branch December 24, 2021 01:43
@sloretz
Copy link
Contributor Author

sloretz commented Dec 24, 2021

Ahh oops! I hadn't re-run CI after making a bunch of changes. Here's a bunch of jobs - if they pass no need to revert :)

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

@gbiggs
Copy link
Contributor

gbiggs commented Dec 24, 2021

Sorry about that! I tested locally and it built so I got over-enthusiastic.

@gbiggs
Copy link
Contributor

gbiggs commented Dec 24, 2021

All passing, so all good.

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