From 10bcb3786555a74d6d752791fe3adc531aa0ac4c Mon Sep 17 00:00:00 2001 From: Fangrui Song Date: Tue, 16 Oct 2018 22:17:27 -0700 Subject: [PATCH] msys2: add cmake --- Build.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Build.md b/Build.md index 832f7cc..259cbc4 100644 --- a/Build.md +++ b/Build.md @@ -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: ``` -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 cd build cmake .. -G Ninja -DSYSTEM_CLANG=ON -DCMAKE_CXX_FLAGS=-D__STDC_FORMAT_MACROS