Detect msvc qt command prompt in build.bat
This commit is contained in:
parent
232007b3c0
commit
089a549f9d
|
@ -13,8 +13,13 @@ REM - run tests too
|
||||||
if "%1" == "" goto help
|
if "%1" == "" goto help
|
||||||
|
|
||||||
REM QT prompt sets QMAKESPEC
|
REM QT prompt sets QMAKESPEC
|
||||||
if NOT "%QMAKESPEC%" == "" (
|
if "%QMAKESPEC%" == "" (
|
||||||
set MAKE=mingw32-make
|
REM parse qmakespec to see if it's some msvc
|
||||||
|
if "%QMAKESPEC:~6,4%" == "msvc" (
|
||||||
|
set MAKE=nmake
|
||||||
|
) else (
|
||||||
|
set MAKE=mingw32-make
|
||||||
|
)
|
||||||
) else (
|
) else (
|
||||||
set MAKE=nmake
|
set MAKE=nmake
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue