Commit 55ad9304 authored by Brad King's avatar Brad King

README: Explain how to bootstrap via MSYS2 on Windows

Inspired-by: 's avatarBartosz Kosiorek <bartosz.kosiorek@tomtom.com>
parent 75b45956
......@@ -67,11 +67,24 @@ choice. Once this has finished successfully, run ``make`` and
Windows
^^^^^^^
You need to download and install a binary release of CMake in order to build
CMake. You can get these releases from the `CMake Download Page`_. Then
proceed with the instructions below.
There are two ways for building CMake under Windows:
1. Compile with MSVC from VS 2015 or later.
You need to download and install a binary release of CMake. You can get
these releases from the `CMake Download Page`_. Then proceed with the
instructions below for `Building CMake with CMake`_.
2. Bootstrap with MinGW under MSYS2.
Download and install `MSYS2`_. Then install the required build tools::
$ pacman -S --needed git base-devel mingw-w64-x86_64-gcc
and bootstrap as above::
$ ./bootstrap && make
.. _`CMake Download Page`: https://cmake.org/cmake/resources/software.html
.. _`MSYS2`: https://www.msys2.org/
Building CMake with CMake
-------------------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment