summaryrefslogtreecommitdiff
path: root/make.bat
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2022-01-01 18:44:55 -0500
committerpommicket <pommicket@gmail.com>2022-01-01 18:44:55 -0500
commitf167f2ffd5e5c61787ab02b2353c243c3b7876e8 (patch)
tree9c40a45fe008202dcd16a87e337e7a7fc187c660 /make.bat
parentba337edceb8cb5cc32d1d5cf71437e8d885cf45f (diff)
windows fixes
- mysterious carriage returns fixed? - fixed c:/x opening separately from c:\x
Diffstat (limited to 'make.bat')
-rw-r--r--make.bat8
1 files changed, 4 insertions, 4 deletions
diff --git a/make.bat b/make.bat
index 92b0e63..1aed6ed 100644
--- a/make.bat
+++ b/make.bat
@@ -3,14 +3,14 @@ if _%VCVARS% == _ (
set VCVARS=1
call vcvarsall x64
)
-if not exist pcre2-32.lib (
- pushd pcre2-10.36
+if not exist pcre2-32-static.lib (
+ pushd pcre2
cmake -D PCRE2_BUILD_PCRE2_8=OFF -D PCRE2_BUILD_TESTS=OFF -D PCRE2_BUILD_PCRE2_32=ON -D CMAKE_BUILD_TYPE=Release -D CMAKE_GENERATOR_PLATFORM=x64 -D PCRE2_STATIC=ON .
cmake --build . --config Release
popd
- copy pcre2-10.36\Release\pcre2-32.lib
+ copy pcre2\Release\pcre2-32-static.lib
)
-SET C_FLAGS=/nologo /W4 /MD /wd4200 /wd4204 /wd4221 /wd4706 /wd4214 /D_CRT_SECURE_NO_WARNINGS /I SDL2/include SDL2/lib/x64/SDL2main.lib SDL2/lib/x64/SDL2.lib pcre2-32.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 main.c stb_truetype.c ted.res /DDEBUG /DEBUG /Zi %C_FLAGS% /Fe:ted