Configure: simplify logic
Replace hard-coded win32-msvc20XX mkspec names with a variable substitution expression. Change-Id: I4911cb3e169cd7603453d7c8a67a2a291d15c796 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
This commit is contained in:
parent
b9c4add832
commit
85250da09d
@ -125,11 +125,8 @@ goto doneargs
|
|||||||
|
|
||||||
:platform
|
:platform
|
||||||
shift
|
shift
|
||||||
if "%~1" == "win32-msvc2012" goto msvc
|
|
||||||
if "%~1" == "win32-msvc2013" goto msvc
|
|
||||||
if "%~1" == "win32-msvc2015" goto msvc
|
|
||||||
if "%~1" == "win32-msvc2017" goto msvc
|
|
||||||
set PLATFORM=%~1
|
set PLATFORM=%~1
|
||||||
|
if "%PLATFORM:~0,10%" == "win32-msvc" goto msvc
|
||||||
goto nextarg
|
goto nextarg
|
||||||
:msvc
|
:msvc
|
||||||
echo. >&2
|
echo. >&2
|
||||||
|
Loading…
x
Reference in New Issue
Block a user