make.bat: Improve messaging when not detecting MSVC

Inspired by @mrwhite in D7295
This commit is contained in:
Ray molenkamp 2020-03-31 13:14:16 -06:00
parent 5b88ab25bd
commit 0062813c73
1 changed files with 7 additions and 1 deletions

View File

@ -27,7 +27,13 @@ if NOT "%verbose%" == "" (
if "%VS_InstallDir%"=="" (
if NOT "%verbose%" == "" (
echo Visual Studio is detected but the "Desktop development with C++" workload has not been instlled
echo.
echo Visual Studio is detected but no suitable installation was found.
echo.
echo Check the "Desktop development with C++" workload has been installed.
echo.
echo If you are attempting to use either Visual Studio Preview version or the Visual C++ Build tools, Please see 'make help' on how to opt in to those toolsets.
echo.
goto FAIL
)
)