build, windows: do not fail on Windows SDK Prompt

This commit is contained in:
Marc Schlaich 2014-02-11 13:57:01 +01:00 committed by Saúl Ibarra Corretgé
parent 269ff0beae
commit 2f6d4b4b58

View File

@ -41,6 +41,7 @@ shift
goto next-arg goto next-arg
:args-done :args-done
if defined WindowsSDKDir goto select-target
if defined VCINSTALLDIR goto select-target if defined VCINSTALLDIR goto select-target
@rem Look for Visual Studio 2013 @rem Look for Visual Studio 2013
@ -111,10 +112,8 @@ echo Project files generated.
if defined nobuild goto run if defined nobuild goto run
@rem Check if VS build env is available @rem Check if VS build env is available
if not defined VCINSTALLDIR goto msbuild-not-found if defined VCINSTALLDIR goto msbuild-found
goto msbuild-found if defined WindowsSDKDir goto msbuild-found
:msbuild-not-found
echo Build skipped. To build, this file needs to run from VS cmd prompt. echo Build skipped. To build, this file needs to run from VS cmd prompt.
goto run goto run