Skip to content
Snippets Groups Projects
qgroundcontrol.pro 1.41 KiB
Newer Older
  • Learn to ignore specific revisions
  • # -------------------------------------------------
    # QGroundControl - Micro Air Vehicle Groundstation
    # Please see our website at <http://qgroundcontrol.org>
    # Maintainer:
    # Lorenz Meier <lm@inf.ethz.ch>
    # (c) 2009-2015 QGroundControl Developers
    # This file is part of the open groundstation project
    # QGroundControl is free software: you can redistribute it and/or modify
    # it under the terms of the GNU General Public License as published by
    # the Free Software Foundation, either version 3 of the License, or
    # (at your option) any later version.
    # QGroundControl is distributed in the hope that it will be useful,
    # but WITHOUT ANY WARRANTY; without even the implied warranty of
    # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
    # GNU General Public License for more details.
    # You should have received a copy of the GNU General Public License
    # along with QGroundControl. If not, see <http://www.gnu.org/licenses/>.
    # -------------------------------------------------
    
    TEMPLATE =  subdirs
    CONFIG  +=  ordered
    
    SUBDIRS  =  ./QGCLocationPlugin.pro
    SUBDIRS +=  ./QGCApplication.pro
    
    Daniel Agar's avatar
    Daniel Agar committed
    include(git_version.pri)
    
    
    QGCApplication.depends = QGCLocationPlugin
    
    message(Qt version $$[QT_VERSION])
    
    !equals(QT_MAJOR_VERSION, 5) | !greaterThan(QT_MINOR_VERSION, 3) {
        error("Unsupported Qt version, 5.4+ is required")
    }
    
    Daniel Agar's avatar
    Daniel Agar committed
    message(QGroundControl version $${GIT_DESCRIBE})
    git_ver.commands = $$QGC_GIT_VER
    QMAKE_EXTRA_TARGETS += git_ver