Skip to content

Consolidate code for getting platform details into one place#311

Merged
e-n-f merged 1 commit intofelt:mainfrom
nightlark:hide-platform-info-differences
Dec 9, 2024
Merged

Consolidate code for getting platform details into one place#311
e-n-f merged 1 commit intofelt:mainfrom
nightlark:hide-platform-info-differences

Conversation

@nightlark
Copy link
Contributor

@nightlark nightlark commented Dec 6, 2024

This moves some of the code that is platform dependent (e.g. getting various bits of system info) into a separate file that can be reused as needed between the different tippecanoe binaries, and should help keep conditional compilation #ifdef's for different operating systems in one place. This is laying the groundwork that will make support for new platforms (such as #293) cleaner/easier to maintain.

@nightlark nightlark changed the title Consolidate code for getting platform details into a single place Consolidate code for getting platform details into one place Dec 6, 2024
@e-n-f
Copy link
Collaborator

e-n-f commented Dec 9, 2024

I'm sorry to be neglecting your PRs. I appreciate the portability cleanups, and I hope I can properly review them soon.

Copy link
Collaborator

@e-n-f e-n-f left a comment

Choose a reason for hiding this comment

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

Looks good to me. Thanks for the portability improvements.

@e-n-f e-n-f merged commit d70e332 into felt:main Dec 9, 2024
@nightlark nightlark deleted the hide-platform-info-differences branch December 10, 2024 00:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants