mirror of
git://code.qt.io/qt/qt5.git
synced 2026-01-15 19:36:53 +08:00
Pick-to: 6.5 6.6 Task-number: QTBUG-108364 Change-Id: I1250a46d60d5b4e85258b93f8f6f6fc4631b3a70 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
24 lines
532 B
Batchfile
24 lines
532 B
Batchfile
@echo off
|
|
:: Copyright (C) 2020 The Qt Company Ltd.
|
|
:: SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
|
|
|
set "srcpath=%~dp0"
|
|
set "configure=%srcpath%qtbase\configure.bat"
|
|
if not exist "%configure%" (
|
|
echo %configure% not found. Did you forget to run "init-repository"? >&2
|
|
exit /b 1
|
|
)
|
|
|
|
if not exist qtbase mkdir qtbase || exit /b 1
|
|
|
|
echo + cd qtbase
|
|
cd qtbase || exit /b 1
|
|
|
|
echo + %configure% -top-level %*
|
|
call %configure% -top-level %*
|
|
set err=%errorlevel%
|
|
|
|
cd ..
|
|
|
|
exit /b %err%
|