summaryrefslogtreecommitdiff
path: root/make.bat
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2023-01-09 21:59:51 -0500
committerpommicket <pommicket@gmail.com>2023-01-09 22:00:23 -0500
commit7f0255cb40bb85276191ec3ddffe507e53abf2ac (patch)
tree2376d10183d4085a7e8c85bba008f8ba3516d731 /make.bat
parentce158f26b9136b3fc831c6325ad911e3bf403a4b (diff)
fixed a bunch of windows stuff
also compile_commands.json does fix the usages problem!
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