Permalink
Browse files

use environment variable to find vsvars32.bat

  • Loading branch information...
hickeys committed May 24, 2016
1 parent 0344fa0 commit 06694c26c44f921015ac551b59d304124a7a19c4
Showing with 5 additions and 7 deletions.
  1. +1 −1 DeveloperBuild.bat
  2. +4 −6 OfficialBuild.bat
View
@@ -1,7 +1,7 @@
@echo off
if "%WindowsSdkDir%" == "" (
call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\Tools\vsvars32.bat"
call "%VS140COMNTOOLS%vsvars32.bat"
)
rem Make a temporary build directory so we don't overwrite anything
View
@@ -1,13 +1,11 @@
call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\Tools\vsvars32.bat"
if "%WindowsSdkDir%" == "" (
call "%VS140COMNTOOLS%vsvars32.bat"
)
msbuild buiild.proj /t:Build /p:Configuration=Release
if %ERRORLEVEL% NEQ 0 goto Exit
msbuild buiild.proj /t:Build /p:Configuration=Debug
:Exit
echo ""
echo "Build complete"
echo ""
:Exit

0 comments on commit 06694c2

Please sign in to comment.