mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-28 10:31:56 +00:00
msys2: add cmake
parent
b8021425ec
commit
10bcb37865
2
Build.md
2
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:
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user