Back to home page

QT Cross Reference

 
 

    


0001 @echo off
0002 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
0003 ::
0004 :: Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies).
0005 :: Contact: http://www.qt-project.org/legal
0006 ::
0007 :: This file is part of the tools applications of the Qt Toolkit.
0008 ::
0009 :: $QT_BEGIN_LICENSE:LGPL$
0010 :: Commercial License Usage
0011 :: Licensees holding valid commercial Qt licenses may use this file in
0012 :: accordance with the commercial license agreement provided with the
0013 :: Software or, alternatively, in accordance with the terms contained in
0014 :: a written agreement between you and Digia.  For licensing terms and
0015 :: conditions see http://qt.digia.com/licensing.  For further information
0016 :: use the contact form at http://qt.digia.com/contact-us.
0017 ::
0018 :: GNU Lesser General Public License Usage
0019 :: Alternatively, this file may be used under the terms of the GNU Lesser
0020 :: General Public License version 2.1 as published by the Free Software
0021 :: Foundation and appearing in the file LICENSE.LGPL included in the
0022 :: packaging of this file.  Please review the following information to
0023 :: ensure the GNU Lesser General Public License version 2.1 requirements
0024 :: will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
0025 ::
0026 :: In addition, as a special exception, Digia gives you certain additional
0027 :: rights.  These rights are described in the Digia Qt LGPL Exception
0028 :: version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
0029 ::
0030 :: GNU General Public License Usage
0031 :: Alternatively, this file may be used under the terms of the GNU
0032 :: General Public License version 3.0 as published by the Free Software
0033 :: Foundation and appearing in the file LICENSE.GPL included in the
0034 :: packaging of this file.  Please review the following information to
0035 :: ensure the GNU General Public License version 3.0 requirements will be
0036 :: met: http://www.gnu.org/copyleft/gpl.html.
0037 ::
0038 ::
0039 :: $QT_END_LICENSE$
0040 ::
0041 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
0042 
0043 set "srcpath=%~dp0"
0044 set "configure=%srcpath%qtbase\configure.bat"
0045 if not exist "%configure%" (
0046     echo %configure% not found. Did you forget to run "init-repository"? >&2
0047     exit /b 1
0048 )
0049 
0050 if not exist qtbase mkdir qtbase || exit /b 1
0051 
0052 echo + cd qtbase
0053 cd qtbase || exit /b 1
0054 
0055 echo + %configure% -top-level %*
0056 call %configure% -top-level %*
0057 set err=%errorlevel%
0058 
0059 cd ..
0060 
0061 exit /b %err%