diff options
author | Brad King <brad.king@kitware.com> | 2019-02-18 15:43:30 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-02-19 12:10:59 (GMT) |
commit | 55ad9304ed87f365e69b5dc01d5b07d25aecc9e2 (patch) | |
tree | 8a2ddc5ffeb9076ec396d73085c43feb5ee9ec12 | |
parent | 75b45956e044701c0ebe6dbc433f629e0558bdb8 (diff) | |
download | CMake-55ad9304ed87f365e69b5dc01d5b07d25aecc9e2.zip CMake-55ad9304ed87f365e69b5dc01d5b07d25aecc9e2.tar.gz CMake-55ad9304ed87f365e69b5dc01d5b07d25aecc9e2.tar.bz2 |
README: Explain how to bootstrap via MSYS2 on Windows
Inspired-by: Bartosz Kosiorek <bartosz.kosiorek@tomtom.com>
-rw-r--r-- | README.rst | 19 |
1 files changed, 16 insertions, 3 deletions
@@ -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 ------------------------- |