mirror of
https://github.com/Drezil/imgui.git
synced 2024-12-18 14:16:36 +00:00
Examples: SDL2: Tweaked batch files for Win32.
This commit is contained in:
parent
475446b8b9
commit
c3d9e0a6eb
8
examples/.gitignore
vendored
8
examples/.gitignore
vendored
@ -25,6 +25,14 @@ opengl3_example/Release/*
|
|||||||
opengl3_example/ipch/*
|
opengl3_example/ipch/*
|
||||||
opengl3_example/x64/*
|
opengl3_example/x64/*
|
||||||
opengl3_example/opengl3_example
|
opengl3_example/opengl3_example
|
||||||
|
sdl_opengl2_example/Debug/*
|
||||||
|
sdl_opengl2_example/Release/*
|
||||||
|
sdl_opengl2_example/ipch/*
|
||||||
|
sdl_opengl2_example/x64/*
|
||||||
|
sdl_opengl3_example/Debug/*
|
||||||
|
sdl_opengl3_example/Release/*
|
||||||
|
sdl_opengl3_example/ipch/*
|
||||||
|
sdl_opengl3_example/x64/*
|
||||||
*.opensdf
|
*.opensdf
|
||||||
*.sdf
|
*.sdf
|
||||||
*.suo
|
*.suo
|
||||||
|
@ -1 +1,3 @@
|
|||||||
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
|
@REM Build for Visual Studio compiler. Run your copy of vcvars32.bat or vcvarsall.bat to setup command-line compiler.
|
||||||
|
mkdir Debug
|
||||||
|
cl /nologo /Zi /MD /I ..\.. /I ..\libs\gl3w /I %SDL_DIR%\include main.cpp imgui_impl_sdl.cpp ..\..\imgui*.cpp ..\libs\gl3w\GL\gl3w.c /FeDebug/sdl_opengl2_example.exe /FoDebug/ /link /libpath:%SDL_DIR%\lib\x86 SDL2.lib SDL2main.lib opengl32.lib /subsystem:console
|
||||||
|
@ -1,2 +1,3 @@
|
|||||||
set SDL2DIR=D:\T-Work\Libs\SDL\SDL2-2.0.3
|
@REM Build for Visual Studio compiler. Run your copy of vcvars32.bat or vcvarsall.bat to setup command-line compiler.
|
||||||
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
|
mkdir Debug
|
||||||
|
cl /nologo /Zi /MD /I ..\.. /I ..\libs\gl3w /I %SDL_DIR%\include main.cpp imgui_impl_sdl_gl3.cpp ..\..\imgui*.cpp ..\libs\gl3w\GL\gl3w.c /FeDebug/sdl_opengl3_example.exe /FoDebug/ /link /libpath:%SDL_DIR%\lib\x86 SDL2.lib SDL2main.lib opengl32.lib /subsystem:console
|
||||||
|
Loading…
Reference in New Issue
Block a user