diff --git a/Getting-started.md b/Getting-started.md index 55457a0..18ba2f8 100644 --- a/Getting-started.md +++ b/Getting-started.md @@ -15,8 +15,8 @@ For all others, below are the quick commands for the impatient. Detailed instruc git clone https://github.com/MaskRay/ccls --depth=1 cd ccls git submodule update --init -cmake -H. -Brelease -cmake --build release +cmake -H. -BRelease +cmake --build Release ``` The executable is at `release/ccls`. @@ -25,9 +25,10 @@ Additional notes: If your `libstdc++` is too old (no C++17 header files) or have * Arch Linux: `cmake -H. -Brelease -DUSE_SHARED_LLVM=on`. `-DUSE_SHARED_LLVM=on` (optional) makes linked executable smaller. [aur/ccls-git](https://aur.archlinux.org/packages/ccls-git) currently does not work as it links against `extra/clang=6.0.1-1` which has a [known issue](https://github.com/MaskRay/ccls/issues/30). -* FreeBSD 11: `cmake -H. -Brelease -DCLANG_USE_BUNDLED_LIBC++=on` -* FreeBSD 12, Linux with newer libstdc++ and clang>=6: `cmake -H. -Brelease -DSYSTEM_CLANG=on -DUSE_SHARED_LLVM=on` -* Linux with `gcc < 7` but `clang >= 5`, `cmake -H. -Brelease -DCMAKE_CXX_COMPILER=clang++` +* FreeBSD 11: `cmake -H. -BRelease -DCLANG_USE_BUNDLED_LIBC++=on` +* FreeBSD 12, `cmake -H. -BRelease -DSYSTEM_CLANG=on -DUSE_SHARED_LLVM=on` +* Linux with newer libstdc++ and clang>=6: `cmake -H. -BRelease -DUSE_SHARED_LLVM=on` +* Linux with `gcc < 7` but `clang >= 5`, `cmake -H. -BRelease -DCMAKE_CXX_COMPILER=clang++` ### Setup your editor