mirror of
https://github.com/MaskRay/ccls.git
synced 2025-08-22 14:42:01 +00:00
Cleaned up unnecessary comment, added note to do recursive clone to avoid cmake errors.
parent
140b3da324
commit
ac7f2c8e7b
4
Build.md
4
Build.md
@ -258,6 +258,8 @@ cmake --build Release
|
|||||||
|
|
||||||
### Windows
|
### Windows
|
||||||
|
|
||||||
|
Note: run `git submodule update --init` before building to avoid using system rapidjson.
|
||||||
|
|
||||||
The Windows archive on releases.llvm.org does not contain library headers.
|
The Windows archive on releases.llvm.org does not contain library headers.
|
||||||
Since **ccls** uses Clang C++ APIs, it is not possible to build **ccls** with
|
Since **ccls** uses Clang C++ APIs, it is not possible to build **ccls** with
|
||||||
these releases. You must either:
|
these releases. You must either:
|
||||||
@ -295,8 +297,6 @@ cmake -S. -BRelease -G Ninja -DCMAKE_CXX_FLAGS='-D_GLIBCXX_USE_CXX11_ABI=0'
|
|||||||
ninja -C Release
|
ninja -C Release
|
||||||
```
|
```
|
||||||
|
|
||||||
`-D__STDC_FORMAT_MACROS` is because otherwise `mingw-w64-headers/crt/inttypes.h` does not define `PRIu64`.
|
|
||||||
|
|
||||||
Try running `ccls.exe` once the above command finishes.
|
Try running `ccls.exe` once the above command finishes.
|
||||||
|
|
||||||
If you encounter `Entry Point Not Found` errors, it's most likely due to missing clang/stdc++ lib files.
|
If you encounter `Entry Point Not Found` errors, it's most likely due to missing clang/stdc++ lib files.
|
||||||
|
Loading…
Reference in New Issue
Block a user