mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-24 16:45:07 +00:00
Add note on compilationDatabaseDirectory option
This is useful when building with cmake
This commit is contained in:
parent
76785105ed
commit
8ef2be0429
@ -75,7 +75,9 @@ generate one in ninja. When you sync your code you should regenerate this file.
|
||||
$ ninja -C out/Release -t compdb cxx cc > compile_commands.json
|
||||
```
|
||||
|
||||
The `compile_commands.json` file should be in the top-level workspace directory.
|
||||
If the `compile_commands.json` is not in the top-level workspace directory,
|
||||
then the `cquery.misc.compilationDatabaseDirectory` setting can be used to
|
||||
specify its location.
|
||||
|
||||
### cquery.index.extraClangArguments
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user