This repository provides a bootstrap script for CMake on Windows.
The bootstrap script is based on the original CMake bootstrap script and written in PowerShell.
The only dependency of the Windows bootstrap is Microsoft Visual C++ (MSVC).
- You first need the CMake source. You can download a source release or clone the git repository.
- When you have the CMake source, apply the
cmake.patchfile. This ensures the source code is compatible with our bootstrap script. - Initialize the MSVC environment, either by using the Developer Command Prompt or by running
vcvarsall.batin your current terminal. - Run the
bootstrap.ps1script. The bootstrap process will automatically start and give further instructions.
The CMake Bootstrap for Windows repository is licensed under the BSD 3-Clause License. See LICENSE for the full license.
CMake itself, including the original bootstrap script, is licensed under the same license. See https://cmake.org/licensing.