mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-24 08:35:08 +00:00
Small readme tweaks
This commit is contained in:
parent
1ce881f9f3
commit
33c3d99925
11
README.md
11
README.md
@ -45,19 +45,16 @@ Building cquery is simple. The external dependencies are few:
|
||||
$ clang --version # if missing, sudo apt-get install clang
|
||||
$ git clone https://github.com/jacobdufault/cquery --recursive
|
||||
$ cd cquery
|
||||
$ ./waf configure --prefix ~/.local/stow/cquery
|
||||
$ ./waf build
|
||||
# -g -O3, built build/release/bin/cquery
|
||||
$ ./waf install
|
||||
# optional, copies the executable to $PREFIX/bin/cquery
|
||||
$ ./waf configure --prefix ~/.local/stow/cquery # --prefix is optional, it specifies install directory
|
||||
$ ./waf build # -g -O3, built build/release/bin/cquery
|
||||
$ ./waf install # optional, copies the executable to $PREFIX/bin/cquery
|
||||
```
|
||||
|
||||
For a debug build:
|
||||
|
||||
```bash
|
||||
$ ./waf configure --variant=debug
|
||||
$ ./waf build --variant=debug
|
||||
# -g -O0, built build/debug/bin/cquery
|
||||
$ ./waf build --variant=debug # -g -O0, built build/debug/bin/cquery
|
||||
```
|
||||
|
||||
## Install extension
|
||||
|
Loading…
Reference in New Issue
Block a user