commit 27489ab9954df53b4ef3395a419cfec5e7160eb1 parent 298e8353e4e748e80dd3d9a4d4fb42c9c4bcd104 Author: Michael Savage <mikejsavage@gmail.com> Date: Wed Jan 25 23:13:21 +0200 Tidy up build.bat a bit Diffstat:
build.bat | | | 16 | ++++++++++------ |
diff --git a/build.bat b/build.bat @@ -1,12 +1,16 @@ +@set VC=%PROGRAMFILES(X86)%\Microsoft Visual Studio 12.0\VC +@set KIT=%PROGRAMFILES(X86)%\Windows Kits\8.1 +@set DX=%PROGRAMFILES(X86)%\Microsoft DirectX SDK (June 2010) + +@set INCLUDE=%VC%\include;%KIT%\Include\shared;%KIT%\Include\um;%KIT%\Include\winrt;%DX%\Include + @REM 64bit -@REM @set INCLUDE=C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include;C:\Program Files (x86)\Windows Kits\8.1\Include\shared;C:\Program Files (x86)\Windows Kits\8.1\Include\um -@REM @set LIB=C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\lib\amd64;C:\Program Files (x86)\Windows Kits\8.1\lib\winv6.3\um\x64 -@REM @set PATH=C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\amd64\;%PATH% +@REM @set LIB=%VC%\lib\amd64;%KIT%\lib\winv6.3\um\x64 +@REM @set PATH=%VC%\bin\amd64\;%PATH% @REM 32bit -@set INCLUDE=C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include;C:\Program Files (x86)\Windows Kits\8.1\Include\shared;C:\Program Files (x86)\Windows Kits\8.1\Include\um -@set LIB=C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\LIB;C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\ATLMFC\LIB;C:\Program Files (x86)\Windows Kits\8.1\lib\winv6.3\um\x86 -@set PATH=C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin;%PATH% +@set LIB=%VC%\LIB;%VC%\ATLMFC\LIB;%KIT%\lib\winv6.3\um\x86 +@set PATH=%VC%\bin;%PATH% @set FLAGS=-I include -Z7 -Zo -W4 -Oi -Gm- -GR- -EHa- -nologo -MTd -Od -wd4100 -wd4201 -wd4189 -wd4351 -wd4505 -wd4127 -wd4530 -wd4702 -D_CRT_SECURE_NO_WARNINGS -DNOMINMAX -D_USE_MATH_DEFINES -DWIN32_LEAN_AND_MEAN -I . @set EXELIBS=glfw.lib user32.lib shell32.lib opengl32.lib gdi32.lib Ws2_32.lib