Merge pull request #33 from rpavlik/handle-msvc-qt-cmdline

Detect msvc qt command prompt in build.bat
This commit is contained in:
Kimmo Varis 2011-08-18 14:34:36 -07:00
commit 771ce85492
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
)