summaryrefslogtreecommitdiff
path: root/README.rst
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-02-18 10:43:30 -0500
committerBrad King <brad.king@kitware.com>2019-02-19 07:10:59 -0500
commit55ad9304ed87f365e69b5dc01d5b07d25aecc9e2 (patch)
tree8a2ddc5ffeb9076ec396d73085c43feb5ee9ec12 /README.rst
parent75b45956e044701c0ebe6dbc433f629e0558bdb8 (diff)
downloadcmake-55ad9304ed87f365e69b5dc01d5b07d25aecc9e2.tar.gz
README: Explain how to bootstrap via MSYS2 on Windows
Inspired-by: Bartosz Kosiorek <bartosz.kosiorek@tomtom.com>
Diffstat (limited to 'README.rst')
-rw-r--r--README.rst19
1 files changed, 16 insertions, 3 deletions
diff --git a/README.rst b/README.rst
index 775463e9fe..11bafca078 100644
--- a/README.rst
+++ b/README.rst
@@ -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
-------------------------