Detect msvc qt command prompt in build.bat

This commit is contained in:
Ryan Pavlik 2011-08-18 16:07:48 -05:00
parent 232007b3c0
commit 089a549f9d
1 changed files with 7 additions and 2 deletions

View File

@ -13,8 +13,13 @@ REM - run tests too
if "%1" == "" goto help
REM QT prompt sets QMAKESPEC
if NOT "%QMAKESPEC%" == "" (
set MAKE=mingw32-make
if "%QMAKESPEC%" == "" (
REM parse qmakespec to see if it's some msvc
if "%QMAKESPEC:~6,4%" == "msvc" (
set MAKE=nmake
) else (
set MAKE=mingw32-make
)
) else (
set MAKE=nmake
)