mirror of
https://github.com/Drezil/imgui.git
synced 2024-12-18 14:16:36 +00:00
Examples: Added batch files to build Windows examples with VS
This commit is contained in:
parent
167c02d502
commit
853f265025
4
examples/directx11_example/build_win32.bat
Normal file
4
examples/directx11_example/build_win32.bat
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
@REM Build for Visual Studio compiler
|
||||||
|
mkdir Debug
|
||||||
|
cl /nologo /MD /I ..\.. /I "%DXSDK_DIR%/Include" /D UNICODE *.cpp ..\..\*.cpp /FeDebug/directx11_example.exe /FoDebug/ /link /LIBPATH:"%DXSDK_DIR%/Lib/x86" d3d11.lib d3dcompiler.lib
|
||||||
|
|
3
examples/directx9_example/build_win32.bat
Normal file
3
examples/directx9_example/build_win32.bat
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
@REM Build for Visual Studio compiler
|
||||||
|
mkdir Debug
|
||||||
|
cl /nologo /MD /I ..\.. /I "%DXSDK_DIR%/Include" /D UNICODE *.cpp ..\..\*.cpp /FeDebug/directx9_example.exe /FoDebug/ /link /LIBPATH:"%DXSDK_DIR%/Lib/x86" d3d9.lib d3dx9d.lib
|
3
examples/opengl3_example/build_win32.bat
Normal file
3
examples/opengl3_example/build_win32.bat
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
@REM Build for Visual Studio compiler
|
||||||
|
mkdir Debug
|
||||||
|
cl /nologo /MD /I ..\.. -I ..\libs\glfw\include -I ..\libs\gl3w *.cpp ..\..\*.cpp ..\libs\gl3w\GL\gl3w.c /FeDebug/opengl_example3.exe /FoDebug/ /link /LIBPATH:..\libs\glfw\lib-vc2010-32 glfw3.lib opengl32.lib gdi32.lib shell32.lib
|
3
examples/opengl_example/build_win32.bat
Normal file
3
examples/opengl_example/build_win32.bat
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
@REM Build for Visual Studio compiler
|
||||||
|
mkdir Debug
|
||||||
|
cl /nologo /MD /I ..\.. -I ..\libs\glfw\include *.cpp ..\..\*.cpp /FeDebug/opengl_example.exe /FoDebug/ /link /LIBPATH:..\libs\glfw\lib-vc2010-32 glfw3.lib opengl32.lib gdi32.lib shell32.lib
|
Loading…
Reference in New Issue
Block a user