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

Introduce ARBORX_VERSION #1190

Merged
merged 1 commit into from
Nov 23, 2024
Merged

Introduce ARBORX_VERSION #1190

merged 1 commit into from
Nov 23, 2024

Conversation

aprokop
Copy link
Contributor

@aprokop aprokop commented Nov 13, 2024

I realized we didn't have an easy way for users to enable/disable code based on ArborX version.

@aprokop aprokop added the enhancement New feature or request label Nov 13, 2024
@@ -100,6 +100,7 @@ install(EXPORT ArborXTargets
DESTINATION ${CMAKE_INSTALL_DATADIR}/cmake/ArborX
)

set(ARBORX_VERSION "10799")
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I chose the simplest version. I understand that there's an opportunity to desync with ARBORX_VERSION_STRING, but I think it would be an overkill to introduce something heavier.

Copy link
Contributor

Choose a reason for hiding this comment

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

I am not sure I agree that it is fine to depart form the version we print.
I would get rid of the string version.

Also we should clarify with a comment how the version number is encoded.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I would get rid of the string version.

That sounds reasonable to me.

Also we should clarify with a comment how the version number is encoded.

Will do.

@aprokop aprokop merged commit ec6e245 into arborx:master Nov 23, 2024
1 of 2 checks passed
@aprokop aprokop deleted the arborx_version branch November 23, 2024 19:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants