mirror of
https://github.com/Ed94/VEFontCache-Odin.git
synced 2025-08-05 22:42:43 -07:00
Manually adding thirdparty libs
This commit is contained in:
19
thirdparty/sokol/build_clibs_wasm.bat
vendored
Normal file
19
thirdparty/sokol/build_clibs_wasm.bat
vendored
Normal 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
|
||||
)
|
Reference in New Issue
Block a user