mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-22 07:35:08 +00:00
update readme
This commit is contained in:
parent
4b420c53d3
commit
b574dcb83f
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user