benchmark/docs/dependencies.md
Carlos O'Ryan b111d01c1b
cleanup: support CMake >= 3.10 (#1544)
* 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>
2023-02-17 13:38:53 +00:00

543 B

Build tool dependency policy

We follow the Foundational C++ support policy for our build tools. In particular the "Build Systems" section.

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