Examples: Added batch files to build Windows examples with VS

This commit is contained in:
ocornut 2015-09-10 20:34:06 +01:00
parent 167c02d502
commit 853f265025
4 changed files with 13 additions and 0 deletions

View 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

View 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

View 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

View 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