orca/sketches/triangleGLES/build.bat

8 lines
413 B
Batchfile
Raw Normal View History

2023-03-05 15:05:43 +00:00
set INCLUDES=/I ..\..\src /I ..\..\src\util /I ..\..\src\platform /I ../../ext /I ../../ext/angle/include
if not exist "bin" mkdir bin
cl /we4013 /Zi /Zc:preprocessor /std:c11 /experimental:c11atomics %INCLUDES% main.c /link /LIBPATH:../../build/bin orca.dll.lib /out:bin/example_gles_triangle.exe
cp ../../build/bin/orca.dll bin/
cp ../../ext/angle/bin/libEGL.dll bin/
cp ../../ext/angle/bin/libGLESv2.dll bin/