-
-
Notifications
You must be signed in to change notification settings - Fork 28
/
config_external_libs.pri
39 lines (28 loc) · 987 Bytes
/
config_external_libs.pri
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#################################################################
# EXTERNAL LIBRARY CONFIGURATION
## Required libs
INCLUDEPATH += $$MAVLINKPATH
isEmpty(MAVLINK_CONF) {
INCLUDEPATH += $$MAVLINKPATH/common
} else {
message("Adding support for additional MAVLink messages for: " $$MAVLINK_CONF)
INCLUDEPATH += $$MAVLINKPATH/$$MAVLINK_CONF
DEFINES += $$sprintf('QGC_USE_%1_MESSAGES', $$upper($$MAVLINK_CONF))
}
# EIGEN matrix library (header-only)
INCLUDEPATH += libs libs/eigen
# OPMapControl library (from OpenPilot)
include(libs/opmapcontrol/opmapcontrol_external.pri)
# Include QWT plotting library
include(libs/qwt/qwt.pri)
# Include serial port library
CONFIG += qesp_linux_udev
DEFINES += QESP_NO_PORTABILITY_WARN
include(libs/thirdParty/qextserialport/src/qextserialport.pri)
## Optional libs
!contains(DEFINES, NO_TEXT_TO_SPEECH) {
include(libs/QtSpeech/QtSpeech.pri)
} else {
message("Skipping Text-to-Speech support.")
}
#!unix:!macx:!symbian: LIBS += -losg