mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-24 16:45:07 +00:00
Updated Build (markdown)
parent
4c3f9a7407
commit
0d007c1f03
2
Build.md
2
Build.md
@ -18,7 +18,7 @@ You may append `-G Ninja -DCMAKE_CXX_LINK_FLAGS=-fuse-ld=lld -DCMAKE_CXX_COMPILE
|
|||||||
* `-DSYSTEM_CLANG=(ON|OFF)`
|
* `-DSYSTEM_CLANG=(ON|OFF)`
|
||||||
|
|
||||||
Default: OFF
|
Default: OFF
|
||||||
Enable `SYSTEM_CLANG` if you want to link ccls against a system/local Clang instead of downloading Clang from releases.llvm.org during the configure process.
|
Enable `SYSTEM_CLANG` if you want to link ccls against a system/local Clang instead of downloading Clang from releases.llvm.org during the configure process. You will probably need to install libclang-*-dev and llvm-*-dev packages (or equivalent) in order to have the correct libraries.
|
||||||
|
|
||||||
```zsh
|
```zsh
|
||||||
% cmake -H. -BRelease -DCMAKE_INSTALL_PREFIX=/usr -DSYSTEM_CLANG=On
|
% cmake -H. -BRelease -DCMAKE_INSTALL_PREFIX=/usr -DSYSTEM_CLANG=On
|
||||||
|
Loading…
Reference in New Issue
Block a user