mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-22 07:35:08 +00:00
Added GN info.
parent
18c96c8659
commit
f3d69ae8fb
@ -68,6 +68,13 @@ intercept-build make all # generates compile_commands.json from the `make all` r
|
|||||||
ninja -C out/Release -t compdb cxx cc > compile_commands.json
|
ninja -C out/Release -t compdb cxx cc > compile_commands.json
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### [GN](https://gn.googlesource.com/gn/)
|
||||||
|
|
||||||
|
```zsh
|
||||||
|
# Format: gn gen out/Release --export-compile-commands[=<target_name1,target_name2...>]
|
||||||
|
gn gen out/Release --export-compile-commands=cc
|
||||||
|
```
|
||||||
|
|
||||||
### [Waf](https://waf.io/)
|
### [Waf](https://waf.io/)
|
||||||
|
|
||||||
Load the `clang_compilation_database` tool in your wscript:
|
Load the `clang_compilation_database` tool in your wscript:
|
||||||
|
Loading…
Reference in New Issue
Block a user