Manually adding thirdparty libs

This commit is contained in:
2025-04-14 14:49:36 -04:00
parent 1bd2dc2333
commit 77f1466ae3
70 changed files with 60610 additions and 4 deletions

19
thirdparty/sokol/build_clibs_wasm.bat vendored Normal file
View File

@@ -0,0 +1,19 @@
@echo off
set sources=log app gfx glue time audio debugtext shape gl
REM Debug
for %%s in (%sources%) do (
echo %%s\sokol_%%s_wasm_gl_debug.a
call emcc -c -g -DIMPL -DSOKOL_GLES3 c\sokol_%%s.c
call emar rcs %%s\sokol_%%s_wasm_gl_debug.a sokol_%%s.o
del sokol_%%s.o
)
REM Release
for %%s in (%sources%) do (
echo %%s\sokol_%%s_wasm_gl_release.a
call emcc -c -O2 -DNDEBUG -DIMPL -DSOKOL_GLES3 c\sokol_%%s.c
call emar rcs %%s\sokol_%%s_wasm_gl_release.a sokol_%%s.o
del sokol_%%s.o
)