mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-12-01 09:24:10 +01:00
8500c38c3d
Change-Id: I8d3f0a6b7420cef2988cb04b526ca81fc66c5d7c
37 lines
840 B
Prolog
37 lines
840 B
Prolog
#
|
|
# Qmake project for the OpenPilot GCS.
|
|
# Copyright (c) 2009-2013, The OpenPilot Team, http://www.openpilot.org
|
|
#
|
|
|
|
cache()
|
|
|
|
# check Qt version
|
|
QT_VERSION = $$[QT_VERSION]
|
|
QT_VERSION = $$split(QT_VERSION, ".")
|
|
QT_VER_MAJ = $$member(QT_VERSION, 0)
|
|
QT_VER_MIN = $$member(QT_VERSION, 1)
|
|
|
|
lessThan(QT_VER_MAJ, 5) | lessThan(QT_VER_MIN, 2) {
|
|
error(OpenPilot GCS requires Qt 5.2.0 or newer but Qt $$[QT_VERSION] was detected.)
|
|
}
|
|
|
|
macx {
|
|
# This ensures that code is compiled with the /usr/bin version of gcc instead
|
|
# of the gcc in XCode.app/Context/Development
|
|
QMAKE_CC = /usr/bin/gcc
|
|
QMAKE_CXX = /usr/bin/g++
|
|
QMAKE_LINK = /usr/bin/g++
|
|
QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.6
|
|
}
|
|
|
|
include(gcs.pri)
|
|
|
|
TEMPLATE = subdirs
|
|
CONFIG += ordered
|
|
|
|
DEFINES += USE_PATHPLANNER
|
|
|
|
SUBDIRS = src copydata
|
|
|
|
copydata.file = copydata.pro
|