msys2: add cmake

Fangrui Song 2018-10-16 22:17:27 -07:00
parent b8021425ec
commit 10bcb37865

@ -83,7 +83,7 @@ The Windows archive on releases.llvm.org does not contain library headers, since
For 2, one possible way is use MSYS2, in MSYS2 MinGW 64-bit shell: For 2, one possible way is use MSYS2, in MSYS2 MinGW 64-bit shell:
``` ```
pacman -S mingw-w64-x86_64-clang mingw-w64-x86_64-jq mingw-w64-x86_64-ninja mingw-w64-x86_64-ncurses pacman -S mingw-w64-x86_64-clang mingw-w64-x86_64-cmake mingw-w64-x86_64-jq mingw-w64-x86_64-ninja mingw-w64-x86_64-ncurses
mkdir build mkdir build
cd build cd build
cmake .. -G Ninja -DSYSTEM_CLANG=ON -DCMAKE_CXX_FLAGS=-D__STDC_FORMAT_MACROS cmake .. -G Ninja -DSYSTEM_CLANG=ON -DCMAKE_CXX_FLAGS=-D__STDC_FORMAT_MACROS