File indexing completed on 2024-05-12 04:17:32
0001 #!/bin/bash 0002 0003 # SPDX-FileCopyrightText: 2008-2024 by Gilles Caulier, <caulier dot gilles at gmail dot com> 0004 # 0005 # SPDX-License-Identifier: BSD-3-Clause 0006 # 0007 # Copy this script on root folder where are source code 0008 0009 #export VERBOSE=1 0010 0011 # We will work on command line using MinGW compiler 0012 export MAKEFILES_TYPE='Unix Makefiles' 0013 0014 if [ ! -d "build" ]; then 0015 mkdir build 0016 fi 0017 0018 cd build 0019 0020 export QtAvOptions='-DBUILD_EXAMPLES=OFF \ 0021 -DBUILD_PLAYERS=OFF \ 0022 -DBUILD_TESTS=OFF \ 0023 -DBUILD_QT5OPENGL=ON \ 0024 -DBUILD_QML=OFF' 0025 0026 cmake -G "$MAKEFILES_TYPE" . \ 0027 -DCMAKE_INSTALL_PREFIX=/usr \ 0028 -Wno-dev \ 0029 $QtAvOptions \ 0030 .. 0031