Skip to content

Install cmake 3.25.2

What does this MR do?

This installs the CMake meta build system.

Why was this MR needed?

This will preinstall the cmake meta build system used by a lot of projects. I'm not able to search for filename:CMakeLists.txt on gitlab but I think you will find a lot of projects using it. Especially Open Source projects use it to be able to build their software on Linux and on Windows too.

I use cmake e.g. on cmocka and libssh. Both often are not able to install cmake because the choco is reaching its limits:

$ choco install --no-progress -y cmake
Chocolatey v0.10.15
Installing the following packages:
cmake
By installing you accept licenses for the packages.
cmake not installed. An error occurred during installation:
 The remote server returned an error: (429) Too Many Requests. Too Many Requests
cmake package files install completed. Performing other installation steps.
The install of cmake was NOT successful.
cmake not installed. An error occurred during installation:
 The remote server returned an error: (429) Too Many Requests. Too Many Requests
Chocolatey installed 0/1 packages. 1 packages failed.
 See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
Failures
 - cmake (exited 1) - cmake not installed. An error occurred during installation:
 The remote server returned an error: (429) Too Many Requests. Too Many Requests

Having cmake preinstalled would prevent running into this issue.

What's the best way to test this MR?

Run C:\Program Files\CMake\bin\cmake.exe

What are the relevant issue numbers?

Merge request reports