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

Update CMake Minimum Version #341

Open
goatshriek opened this issue Apr 28, 2023 · 1 comment
Open

Update CMake Minimum Version #341

goatshriek opened this issue Apr 28, 2023 · 1 comment
Assignees
Labels
build pertains to the configuration and build stages

Comments

@goatshriek
Copy link
Owner

goatshriek commented Apr 28, 2023

The current minimum version for the project, 3.2.3, prevents it from using some CMake features that would make the build cleaner and more robust. A number of issues have been caused by this minimum version, listed below for tracking. If you come across your own problem, please document it in this issue, and it will be addressed in the next update.

CMAKE_PROJECT_VERSION is unavailable, which is a cleaner way to specify version numbers than is currently done for example in the configure headers and pkg-config support.

Google Test and Benchmark integration is hacky and brittle, as a result of FetchContent not being available.

CMAKE_PROJECT_DESCRIPTION is not available, which could make some package management tooling (such as portage) cleaner.

@goatshriek goatshriek added the build pertains to the configuration and build stages label Apr 28, 2023
@emansom
Copy link
Contributor

emansom commented Apr 28, 2023

Adopting FetchContent might not be the best option on Linux platforms, as there, reusability through shared libraries is usually preferred for less duplication across software packages.

@goatshriek goatshriek self-assigned this May 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build pertains to the configuration and build stages
Projects
None yet
Development

No branches or pull requests

2 participants