Generate compile_commands.json
This commit is contained in:
parent
0e91dae922
commit
208ca4f638
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 New Issue
Block a user