Browse Source

Examples: SDL2: Added build .bat files for win32.

pull/1040/merge
omar 8 years ago
parent
commit
b3d237a5ce
  1. 1
      examples/sdl_opengl2_example/build_win32.bat
  2. 2
      examples/sdl_opengl3_example/build_win32.bat

1
examples/sdl_opengl2_example/build_win32.bat

@ -0,0 +1 @@
cl /Zi /MD /I ..\.. /I ..\libs\gl3w /I %SDL2DIR%\include main.cpp imgui_impl_sdl.cpp ..\..\imgui*.cpp ..\libs\gl3w\GL\gl3w.c /link /libpath:%SDL2DIR%\lib\x86 SDL2.lib SDL2main.lib opengl32.lib /subsystem:console

2
examples/sdl_opengl3_example/build_win32.bat

@ -0,0 +1,2 @@
set SDL2DIR=D:\T-Work\Libs\SDL\SDL2-2.0.3
cl /Zi /MD /I ..\.. /I ..\libs\gl3w /I %SDL2DIR%\include main.cpp imgui_impl_sdl_gl3.cpp ..\..\imgui*.cpp ..\libs\gl3w\GL\gl3w.c /link /libpath:%SDL2DIR%\lib\x86 SDL2.lib SDL2main.lib opengl32.lib /subsystem:console
Loading…
Cancel
Save