orca/build.bat

10 lines
679 B
Batchfile
Raw Normal View History

2023-01-29 00:04:24 +00:00
if not exist bin mkdir bin
set gles_shaders=src\gles_canvas_shaders\gles_canvas_blit_vertex.glsl src\gles_canvas_shaders\gles_canvas_blit_fragment.glsl src\gles_canvas_shaders\gles_canvas_clear_counters.glsl src\gles_canvas_shaders\gles_canvas_tile.glsl src\gles_canvas_shaders\gles_canvas_sort.glsl src\gles_canvas_shaders\gles_canvas_draw.glsl
2023-02-03 17:44:28 +00:00
call python scripts\embed_text.py %gles_shaders% --output src\gles_canvas_shaders.h
2023-01-29 00:04:24 +00:00
set INCLUDES=/I src /I src/util /I src/platform /I ext /I ext/angle_headers
2023-02-07 12:24:14 +00:00
cl /we4013 /Zi /Zc:preprocessor /DMG_IMPLEMENTS_BACKEND_GL /std:c11 %INCLUDES% /c /Fo:bin/milepost.obj src/milepost.c
2023-01-29 00:04:24 +00:00
lib bin/milepost.obj /OUT:bin/milepost.lib