summaryrefslogtreecommitdiff
path: root/make.bat
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2023-10-17 13:27:30 -0400
committerpommicket <pommicket@gmail.com>2023-10-17 13:27:30 -0400
commited07fe85ec0b85d8d0ade65caac0f04b999890b4 (patch)
treee30eb2aa794e6068366086423754332f80c796f5 /make.bat
parent7b7fb826b33773bab0cb57cc0dc234a9d7a0742e (diff)
set things up for UTF-8 PCRE2
Diffstat (limited to 'make.bat')
-rw-r--r--make.bat7
1 files changed, 4 insertions, 3 deletions
diff --git a/make.bat b/make.bat
index 30de8a4..16dc9db 100644
--- a/make.bat
+++ b/make.bat
@@ -3,14 +3,15 @@ if _%VCVARS% == _ (
set VCVARS=1
call vcvarsall x64
)
-if not exist pcre2-32-static.lib (
+if not exist pcre2-8-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\Release\pcre2-32-static.lib
+ copy /y pcre2\Release\pcre2-32-static.lib
+ copy /y pcre2\Release\pcre2-8-static.lib
)
-SET C_FLAGS=/nologo /W4 /MD /wd4200 /wd4204 /wd4221 /wd4706 /wd4214 /D_CRT_SECURE_NO_WARNINGS /I SDL2/include /I pcre2 User32.lib SDL2/lib/x64/SDL2main.lib SDL2/lib/x64/SDL2.lib 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 User32.lib SDL2/lib/x64/SDL2main.lib SDL2/lib/x64/SDL2.lib pcre2-8-static.lib pcre2-32-static.lib
rc /nologo ted.rc
if _%1 == _ (
if not exist debug mkdir debug