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

Hide GDAL includes and link as PRIVATE #42

Merged
merged 1 commit into from
Jan 17, 2024

Conversation

Ryanf55
Copy link
Collaborator

@Ryanf55 Ryanf55 commented Jan 17, 2024

Purpose

This moves gdal to the implementation and links it as PRIVATE. The reason to do this is that GDAL is an implementation detail and shouldn't be part of the public API. It allows future flexibility to choose a different library.

Risk

If users have included grid_map_geo, and rely on transitive includes to access GDAL (bad practice), they will need to link directly to it in their builds and add proper includes.

Signed-off-by: Ryan Friedman <[email protected]>
Copy link
Member

@Jaeyoung-Lim Jaeyoung-Lim left a comment

Choose a reason for hiding this comment

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

Makes a lot of sense, thanks!

@Jaeyoung-Lim Jaeyoung-Lim merged commit 14cfed1 into ethz-asl:ros2 Jan 17, 2024
2 checks passed
@Ryanf55 Ryanf55 deleted the hide-gdal branch January 17, 2024 14:02
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