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
|
|
|
|
#
|
|
|
|
|
|
|
|
#version check qt
|
2013-04-16 10:05:03 +02:00
|
|
|
contains(QT_VERSION, ^4\\.[0-7]\\..*) {
|
2013-04-05 22:46:56 +02:00
|
|
|
message("Cannot build OpenPilot GCS with Qt version $${QT_VERSION}.")
|
2013-04-16 10:05:03 +02:00
|
|
|
error("Cannot build OpenPilot GCS with Qt version $${QT_VERSION}. Use at least Qt 4.8!")
|
2013-04-05 22:46:56 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
include(openpilotgcs.pri)
|
|
|
|
|
|
|
|
TEMPLATE = subdirs
|
|
|
|
CONFIG += ordered
|
|
|
|
|
|
|
|
DEFINES += USE_PATHPLANNER
|
|
|
|
|
|
|
|
SUBDIRS = src share copydata
|
|
|
|
unix:!macx:!isEmpty(copydata):SUBDIRS += bin
|
|
|
|
|
|
|
|
copydata.file = copydata.pro
|