mirror of
https://github.com/google/benchmark.git
synced 2024-12-27 13:00:36 +08:00
b111d01c1b
* cleanup: support CMake >= 3.10 This aligns the project with the CMake support policies in: https://opensource.google/documentation/policies/cplusplus-support I also simplied the management of CMake policies. Most of the overriden policies (anything <= CMP0067) are enabled by default when you require CMake >= 3.10. But it is easier to just declare that you will accept newer policies when they are available using the `...3.22` notation. * Address review comments * inlined links --------- Co-authored-by: dominic <510002+dmah42@users.noreply.github.com>
14 lines
543 B
Markdown
14 lines
543 B
Markdown
# Build tool dependency policy
|
|
|
|
We follow the [Foundational C++ support policy](https://opensource.google/documentation/policies/cplusplus-support) for our build tools. In
|
|
particular the ["Build Systems" section](https://opensource.google/documentation/policies/cplusplus-support#build-systems).
|
|
|
|
## CMake
|
|
|
|
The current supported version is CMake 3.10 as of 2023-08-10. Most modern
|
|
distributions include newer versions, for example:
|
|
|
|
* Ubuntu 20.04 provides CMake 3.16.3
|
|
* Debian 11.4 provides CMake 3.18.4
|
|
* Ubuntu 22.04 provides CMake 3.22.1
|