2023-01-29 00:04:24 +00:00
|
|
|
|
|
|
|
if not exist bin mkdir bin
|
|
|
|
|
2023-02-09 15:14:15 +00:00
|
|
|
set glsl_shaders=src\glsl_shaders\common.glsl src\glsl_shaders\blit_vertex.glsl src\glsl_shaders\blit_fragment.glsl src\glsl_shaders\clear_counters.glsl src\glsl_shaders\tile.glsl src\glsl_shaders\sort.glsl src\glsl_shaders\draw.glsl
|
|
|
|
|
|
|
|
call python3 scripts\embed_text.py %glsl_shaders% --prefix=glsl_ --output src\glsl_shaders.h
|
2023-02-01 15:23:51 +00:00
|
|
|
|
2023-02-16 18:34:22 +00:00
|
|
|
set INCLUDES=/I src /I src/util /I src/platform /I ext /I ext/angle_headers
|
2023-03-02 11:23:10 +00:00
|
|
|
set LIBS=user32.lib opengl32.lib gdi32.lib shcore.lib delayimp.lib dwmapi.lib /LIBPATH:./bin libEGL.dll.lib libGLESv2.dll.lib /DELAYLOAD:libEGL.dll /DELAYLOAD:libGLESv2.dll
|
2023-02-21 17:43:30 +00:00
|
|
|
|
|
|
|
cl /we4013 /Zi /Zc:preprocessor /DMP_BUILD_DLL /std:c11 %INCLUDES% src/milepost.c /Fo:bin/milepost.o /LD /link %LIBS% /OUT:bin/milepost.dll /IMPLIB:bin/milepost.dll.lib
|