diff options
author | dec05eba <dec05eba@protonmail.com> | 2018-10-13 00:09:22 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2020-07-06 07:39:33 +0200 |
commit | 5e79e361c97e88b4a5912990eda0f1fb0d4a6dbd (patch) | |
tree | b4ea98e404aec68a8eae7f9d64fa24bb4b29effa /backend | |
parent | 7c24c5d0de4d3584d6d2f9f3c26b4d757b0a0df2 (diff) |
Add posix as a platform, remove zig from compile_commands.json
Diffstat (limited to 'backend')
-rw-r--r-- | backend/ninja/Ninja.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/backend/ninja/Ninja.cpp b/backend/ninja/Ninja.cpp index 3a2fa0f..f236210 100644 --- a/backend/ninja/Ninja.cpp +++ b/backend/ninja/Ninja.cpp @@ -1845,9 +1845,9 @@ namespace backend bool isCompdbAvailable = (compdbAvailableResult && compdbAvailableResult.unwrap().exitCode == 0); FileString command = TINYDIR_STRING("ninja -C \""); - command += (isCompdbAvailable ? buildFilePath : saveDir); - command += TINYDIR_STRING("\" -t compdb compile_c compile_cpp compile_zig > \""); command += buildFilePath; + command += TINYDIR_STRING("\" -t compdb compile_c compile_cpp > \""); + command += (isCompdbAvailable ? buildFilePath : saveDir); command += TINYDIR_STRING("/compile_commands.json\""); Result<ExecResult> execResult = exec(command.c_str(), false); if(execResult) |