mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 03:00:46 +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
|
*.dmg
|
||||||
dist/MacOS/nheko.app/Contents/MacOS/nheko
|
dist/MacOS/nheko.app/Contents/MacOS/nheko
|
||||||
.clang
|
.clang
|
||||||
|
compile_commands.json
|
||||||
|
|
||||||
# AppImage
|
# AppImage
|
||||||
*.AppImage
|
*.AppImage
|
||||||
|
|
3
Makefile
3
Makefile
|
@ -1,7 +1,8 @@
|
||||||
|
|
||||||
debug:
|
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
|
@cmake --build build
|
||||||
|
@cp build/compile_commands.json .
|
||||||
|
|
||||||
ci:
|
ci:
|
||||||
@cmake -H. -GNinja -Bbuild -DCMAKE_BUILD_TYPE=RelWithDebInfo
|
@cmake -H. -GNinja -Bbuild -DCMAKE_BUILD_TYPE=RelWithDebInfo
|
||||||
|
|
Loading…
Reference in a new issue