summary refs log tree commit diff
path: root/Makefile
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 /Makefile
parentErase items using the key (diff)
downloadnheko-208ca4f638febd8ab407723434152cfb2f54bbb7.tar.xz
Generate compile_commands.json
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
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