2013-06-18 15:10:00 +00:00
|
|
|
@echo off
|
2020-09-24 14:34:08 +00:00
|
|
|
:: Copyright (C) 2020 The Qt Company Ltd.
|
2023-08-29 07:46:33 +00:00
|
|
|
:: SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
2013-06-18 15:10:00 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2013-06-18 13:14:30 +00:00
|
|
|
echo + %configure% -top-level %*
|
|
|
|
call %configure% -top-level %*
|
2013-06-18 15:10:00 +00:00
|
|
|
set err=%errorlevel%
|
|
|
|
|
|
|
|
cd ..
|
|
|
|
|
|
|
|
exit /b %err%
|