Permalink
Browse files

build, windows: do not fail on Windows SDK Prompt

  • Loading branch information...
1 parent 269ff0b commit 2f6d4b4b58ea290961dc983117d31b19e198403a @schlamar schlamar committed with saghul Feb 11, 2014
Showing with 3 additions and 4 deletions.
  1. +3 −4 vcbuild.bat
View
7 vcbuild.bat
@@ -41,6 +41,7 @@ shift
goto next-arg
:args-done
+if defined WindowsSDKDir goto select-target
if defined VCINSTALLDIR goto select-target
@rem Look for Visual Studio 2013
@@ -111,10 +112,8 @@ echo Project files generated.
if defined nobuild goto run
@rem Check if VS build env is available
-if not defined VCINSTALLDIR goto msbuild-not-found
-goto msbuild-found
-
-:msbuild-not-found
+if defined VCINSTALLDIR goto msbuild-found
+if defined WindowsSDKDir goto msbuild-found
echo Build skipped. To build, this file needs to run from VS cmd prompt.
goto run

0 comments on commit 2f6d4b4

Please sign in to comment.