@ECHO OFF PUSHD %~dp0\.. CALL vswhere.bat arm store IF ERRORLEVEL 1 ( ECHO ERROR! make-mingwlibs.bat: Something went wrong when calling vswhere.bat POPD EXIT /B 1 ) CALL make-mingwlibs.bat buildArm win10 %* POPD