Explorar el Código

Merge topic 'readme-msys2'

55ad9304ed README: Explain how to bootstrap via MSYS2 on Windows

Acked-by: Kitware Robot <[email protected]>
Acked-by: Bartosz <[email protected]>
Merge-request: !2983
Craig Scott hace 6 años
padre
commit
9cab31cc79
Se han modificado 1 ficheros con 16 adiciones y 3 borrados
  1. 16 3
      README.rst

+ 16 - 3
README.rst

@@ -67,11 +67,24 @@ choice. Once this has finished successfully, run ``make`` and
 Windows
 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
 .. _`CMake Download Page`: https://cmake.org/cmake/resources/software.html
+.. _`MSYS2`: https://www.msys2.org/
 
 
 Building CMake with CMake
 Building CMake with CMake
 -------------------------
 -------------------------