diff --git a/Getting-started.md b/Getting-started.md index 555a47f..3945eb5 100644 --- a/Getting-started.md +++ b/Getting-started.md @@ -6,21 +6,18 @@ ### Build the language server -Detailed instructions at [[Build (Waf)]] and [[Build (CMake)]]. +Detailed instructions at [[Build]]. -```bash -1 $ git clone https://github.com/ccls-project/ccls --single-branch --depth=1 -2 $ cd ccls -3 $ git submodule update --init && ./waf configure build # --variant=debug if you want to report issues. +```zsh +git clone https://github.com/MaskRay/ccls --depth=1 +cd ccls +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 `build/release/bin/ccls`. - -There are also prebuilt binaries on . "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**. +The executable is at `release/ccls`. ### Project setup