Cleaned up unnecessary comment, added note to do recursive clone to avoid cmake errors.

sbroberg 2025-06-16 17:34:02 -04:00
parent 140b3da324
commit ac7f2c8e7b

@ -258,6 +258,8 @@ cmake --build Release
### 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.
Since **ccls** uses Clang C++ APIs, it is not possible to build **ccls** with
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
```
`-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.
If you encounter `Entry Point Not Found` errors, it's most likely due to missing clang/stdc++ lib files.