mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-28 10:31:56 +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
|
$ clang --version # if missing, sudo apt-get install clang
|
||||||
$ git clone https://github.com/jacobdufault/cquery --recursive
|
$ git clone https://github.com/jacobdufault/cquery --recursive
|
||||||
$ cd cquery
|
$ cd cquery
|
||||||
$ ./waf configure --prefix ~/.local/stow/cquery
|
$ ./waf configure --prefix ~/.local/stow/cquery # --prefix is optional, it specifies install directory
|
||||||
$ ./waf build
|
$ ./waf build # -g -O3, built build/release/bin/cquery
|
||||||
# -g -O3, built build/release/bin/cquery
|
$ ./waf install # optional, copies the executable to $PREFIX/bin/cquery
|
||||||
$ ./waf install
|
|
||||||
# optional, copies the executable to $PREFIX/bin/cquery
|
|
||||||
```
|
```
|
||||||
|
|
||||||
For a debug build:
|
For a debug build:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ ./waf configure --variant=debug
|
$ ./waf configure --variant=debug
|
||||||
$ ./waf build --variant=debug
|
$ ./waf build --variant=debug # -g -O0, built build/debug/bin/cquery
|
||||||
# -g -O0, built build/debug/bin/cquery
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## Install extension
|
## Install extension
|
||||||
|
Loading…
Reference in New Issue
Block a user