summary refs log tree commit diff
diff options
context:
space:
mode:
authorKonstantinos Sideris <sideris.konstantin@gmail.com>2018-01-25 15:08:19 +0200
committerKonstantinos Sideris <sideris.konstantin@gmail.com>2018-01-25 15:08:19 +0200
commit208ca4f638febd8ab407723434152cfb2f54bbb7 (patch)
tree4a811fa08eb8e0738dc15ca4bfef6aef82c09727
parentErase items using the key (diff)
downloadnheko-208ca4f638febd8ab407723434152cfb2f54bbb7.tar.xz
Generate compile_commands.json
-rw-r--r--.gitignore1
-rw-r--r--Makefile3
2 files changed, 3 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore

index 902e90e4..e232f844 100644 --- a/.gitignore +++ b/.gitignore
@@ -81,6 +81,7 @@ result *.dmg dist/MacOS/nheko.app/Contents/MacOS/nheko .clang +compile_commands.json # AppImage *.AppImage diff --git a/Makefile b/Makefile
index 72476699..053e40c4 100644 --- a/Makefile +++ b/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