diff options
author | Konstantinos Sideris <sideris.konstantin@gmail.com> | 2018-01-25 15:08:19 +0200 |
---|---|---|
committer | Konstantinos Sideris <sideris.konstantin@gmail.com> | 2018-01-25 15:08:19 +0200 |
commit | 208ca4f638febd8ab407723434152cfb2f54bbb7 (patch) | |
tree | 4a811fa08eb8e0738dc15ca4bfef6aef82c09727 /Makefile | |
parent | Erase items using the key (diff) | |
download | nheko-208ca4f638febd8ab407723434152cfb2f54bbb7.tar.xz |
Generate compile_commands.json
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
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 |