diff options
author | pommicket <pommicket@gmail.com> | 2023-01-09 13:51:46 -0500 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2023-01-09 13:51:46 -0500 |
commit | 2d9c5407fdc923a2e8c1fe39213b09c769a74e2e (patch) | |
tree | f33ea9a53be292f2f4e67994a0a30d2e489bba31 /make.bat | |
parent | a7d4e507d07919fba43ba14e9eb4fb62de2691f9 (diff) |
fix some windows problems
Diffstat (limited to 'make.bat')
-rw-r--r-- | make.bat | 13 |
1 files changed, 5 insertions, 8 deletions
@@ -13,14 +13,11 @@ if not exist pcre2-32-static.lib ( SET C_FLAGS=/nologo /W4 /MD /wd4200 /wd4204 /wd4221 /wd4706 /wd4214 /D_CRT_SECURE_NO_WARNINGS /I SDL2/include /I pcre2 SDL2/lib/x64/SDL2main.lib SDL2/lib/x64/SDL2.lib pcre2-32-static.lib rc /nologo ted.rc if _%1 == _ ( - cl buffer.c build.c colors.c command.c^ - config.c find.c gl.c ide-autocomplete.c^ - ide-definitions.c ide-highlights.c ide-hover.c^ - ide-signature-help.c ide-usages.c lsp.c lsp-json.c^ - lsp-parse.c lsp-write.c main.c menu.c node.c^ - os-win.c session.c stb_image.c stb_truetype.c^ - syntax.c tags.c ted.c text.c ui.c util.c ted.res^ - /DDEBUG /DEBUG /Zi %C_FLAGS% /Fe:ted + pushd debug + cmake -DCMAKE_BUILD_TYPE=Debug -GNinja .. + ninja + copy ted.exe .. + popd ) if _%1 == _release cl main.c ted.res /O2 /wd4702 %C_FLAGS% /Fe:ted if _%1 == _release_with_debug_info cl main.c ted.res /DEBUG /Zi /O2 /wd4702 %C_FLAGS% /Fe:ted |