update readme

This commit is contained in:
Joel Hock 2017-12-19 00:27:15 -06:00 committed by Jacob Dufault
parent 4b420c53d3
commit b574dcb83f

View File

@ -97,9 +97,14 @@ can add the flags to a file called `.cquery` located in the top-level
workspace directory. workspace directory.
Each argument in that file is separated by a newline. Lines starting with `#` Each argument in that file is separated by a newline. Lines starting with `#`
are skipped. Here's an example: are skipped. The first line can optionally be the path to the intended compiler,
which can help if the standard library paths are relative to the binary.
Here's an example:
``` ```
# Driver
/usr/bin/clang++-4.0
# Language # Language
-xc++ -xc++
-std=c++11 -std=c++11