mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-24 16:45:07 +00:00
Updated Getting started (markdown)
parent
3a0d6c6ac4
commit
d2095940c1
@ -6,21 +6,18 @@
|
|||||||
|
|
||||||
### Build the language server
|
### Build the language server
|
||||||
|
|
||||||
Detailed instructions at [[Build (Waf)]] and [[Build (CMake)]].
|
Detailed instructions at [[Build]].
|
||||||
|
|
||||||
```bash
|
```zsh
|
||||||
1 $ git clone https://github.com/ccls-project/ccls --single-branch --depth=1
|
git clone https://github.com/MaskRay/ccls --depth=1
|
||||||
2 $ cd ccls
|
cd ccls
|
||||||
3 $ git submodule update --init && ./waf configure build # --variant=debug if you want to report issues.
|
git submodule update --init
|
||||||
|
mkdir release
|
||||||
|
cmake -DCMAKE_BUILD_TYPE=Release -Brelease -H.
|
||||||
|
make -C release
|
||||||
```
|
```
|
||||||
|
|
||||||
If syncing, only `3` needs to be rerun.
|
The executable is at `release/ccls`.
|
||||||
|
|
||||||
The executable is at `build/release/bin/ccls`.
|
|
||||||
|
|
||||||
There are also prebuilt binaries on <https://github.com/ccls-project/ccls/releases>. "Source code" tarballs do not include submodules and do not build by themselves.
|
|
||||||
|
|
||||||
If you come across crashes, **please [[build with --variant=debug|Build (Waf)]] and report issues with detailed stack trace**.
|
|
||||||
|
|
||||||
### Project setup
|
### Project setup
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user