diff options
author | dec05eba <dec05eba@protonmail.com> | 2018-05-05 15:11:17 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2018-05-05 15:11:19 +0200 |
commit | a4e3a1191949449d1fda319771c725fdaa6f8b75 (patch) | |
tree | 903f5101c20bbaaa5c9f492c680163cde2db9783 /src/CmakeModule.cpp | |
parent | 8d3a83a20a57cd505b2f98a542903a3aee0c2b45 (diff) |
Build compilation database (clangdb) when compiling
Diffstat (limited to 'src/CmakeModule.cpp')
-rw-r--r-- | src/CmakeModule.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/CmakeModule.cpp b/src/CmakeModule.cpp index 99be269..6313eb0 100644 --- a/src/CmakeModule.cpp +++ b/src/CmakeModule.cpp @@ -141,6 +141,7 @@ namespace sibs } } //cmd += TINYDIR_STRING(" -DCMAKE_SKIP_RPATH=\"1\""); + cmd += TINYDIR_STRING(" -DCMAKE_EXPORT_COMPILE_COMMANDS"); cmd += TINYDIR_STRING(" \"-B"); cmd += buildPath; cmd += TINYDIR_STRING("\" \"-H"); |