Small readme tweaks

This commit is contained in:
Jacob Dufault 2017-12-12 00:11:46 -08:00
parent 1ce881f9f3
commit 33c3d99925

View File

@ -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