summaryrefslogtreecommitdiff
path: root/make.bat
diff options
context:
space:
mode:
Diffstat (limited to 'make.bat')
-rw-r--r--make.bat3
1 files changed, 2 insertions, 1 deletions
diff --git a/make.bat b/make.bat
index 924d68e..c43974c 100644
--- a/make.bat
+++ b/make.bat
@@ -16,7 +16,8 @@ if _%1 == _ (
pushd debug
cmake -DCMAKE_BUILD_TYPE=Debug -GNinja ..
ninja
- copy ted.exe ..
+ ninja -t compdb C_COMPILER__ted_Debug > ..\compile_commands.json
+ copy /y ted.exe ..
popd
)
if _%1 == _release cl main.c ted.res /O2 /wd4702 %C_FLAGS% /Fe:ted