mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-21 18:50:47 +03:00
Generate compile_commands.json
This commit is contained in:
parent
0e91dae922
commit
208ca4f638
2 changed files with 3 additions and 1 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -81,6 +81,7 @@ result
|
|||
*.dmg
|
||||
dist/MacOS/nheko.app/Contents/MacOS/nheko
|
||||
.clang
|
||||
compile_commands.json
|
||||
|
||||
# AppImage
|
||||
*.AppImage
|
||||
|
|
3
Makefile
3
Makefile
|
@ -1,7 +1,8 @@
|
|||
|
||||
debug:
|
||||
@cmake -H. -GNinja -Bbuild -DCMAKE_BUILD_TYPE=Debug
|
||||
@cmake -H. -GNinja -Bbuild -DCMAKE_BUILD_TYPE=Debug -DCMAKE_EXPORT_COMPILE_COMMANDS=1
|
||||
@cmake --build build
|
||||
@cp build/compile_commands.json .
|
||||
|
||||
ci:
|
||||
@cmake -H. -GNinja -Bbuild -DCMAKE_BUILD_TYPE=RelWithDebInfo
|
||||
|
|
Loading…
Reference in a new issue