2013-04-05 22:46:56 +02:00
|
|
|
#
|
|
|
|
# Qmake project for the OpenPilot GCS.
|
|
|
|
# Copyright (c) 2009-2013, The OpenPilot Team, http://www.openpilot.org
|
|
|
|
#
|
|
|
|
|
2013-10-26 13:37:13 +02:00
|
|
|
cache()
|
2013-11-13 11:04:57 +01:00
|
|
|
|
2015-01-02 22:23:32 +01:00
|
|
|
# check Qt version
|
2013-11-13 11:04:57 +01:00
|
|
|
QT_VERSION = $$[QT_VERSION]
|
|
|
|
QT_VERSION = $$split(QT_VERSION, ".")
|
|
|
|
QT_VER_MAJ = $$member(QT_VERSION, 0)
|
|
|
|
QT_VER_MIN = $$member(QT_VERSION, 1)
|
|
|
|
|
2015-01-06 10:28:43 +01:00
|
|
|
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.)
|
2013-11-13 11:04:57 +01:00
|
|
|
}
|
|
|
|
|
2013-10-26 13:37:13 +02:00
|
|
|
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++
|
2014-01-10 00:44:12 +01:00
|
|
|
QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.6
|
2013-10-26 13:37:13 +02:00
|
|
|
}
|
2013-04-05 22:46:56 +02:00
|
|
|
|
2015-07-16 22:32:56 +02:00
|
|
|
include(gcs.pri)
|
2013-04-05 22:46:56 +02:00
|
|
|
|
|
|
|
TEMPLATE = subdirs
|
|
|
|
CONFIG += ordered
|
|
|
|
|
|
|
|
DEFINES += USE_PATHPLANNER
|
|
|
|
|
2015-05-23 09:04:06 +02:00
|
|
|
SUBDIRS = src copydata
|
2013-04-05 22:46:56 +02:00
|
|
|
|
|
|
|
copydata.file = copydata.pro
|