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

proj.h: add PROJ_COMPUTE_VERSION, PROJ_VERSION_NUMBER, PROJ_AT_LEAST_VERSION macros #2581

Merged
merged 2 commits into from
Mar 17, 2021

Conversation

rouault
Copy link
Member

@rouault rouault commented Mar 17, 2021

Makes it easier for users to test if they build against a PROJ version
later than a given x.y.z version.

To be backported in 8.0 branch

…VERSION macros

Makes it easier for users to test if they build against a PROJ version
later than a given x.y.z version.
@rouault rouault added this to the 8.0.1 milestone Mar 17, 2021
@kbevers
Copy link
Member

kbevers commented Mar 17, 2021

PROJ_AT_LEAST_VERSION should be documented somewhere I think

@rouault
Copy link
Member Author

rouault commented Mar 17, 2021

PROJ_AT_LEAST_VERSION should be documented somewhere I think

I've added a source/development/reference/macros.rst for that

@kbevers
Copy link
Member

kbevers commented Mar 17, 2021

I've added a source/development/reference/macros.rst for that

Thanks! Looks good.

@rouault rouault merged commit 979e3a3 into OSGeo:master Mar 17, 2021
@rouault
Copy link
Member Author

rouault commented Mar 17, 2021

Cherry-picked to 8.0.1 per 861ae25 and f4bd832

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