mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-06 17:46:07 +01:00
42213b21f7
To include this module from the command line: make GCS_QMAKE_OPTS="CONFIG+=OSG" -j7 gcs
43 lines
880 B
Prolog
43 lines
880 B
Prolog
TEMPLATE = lib
|
|
TARGET = PfdQml
|
|
QT += svg
|
|
QT += opengl
|
|
QT += declarative
|
|
OSG {
|
|
DEFINES += USE_OSG
|
|
}
|
|
|
|
include(../../openpilotgcsplugin.pri)
|
|
include(../../plugins/coreplugin/coreplugin.pri)
|
|
include(pfdqml_dependencies.pri)
|
|
|
|
HEADERS += \
|
|
pfdqmlplugin.h \
|
|
pfdqmlgadget.h \
|
|
pfdqmlgadgetwidget.h \
|
|
pfdqmlgadgetfactory.h \
|
|
pfdqmlgadgetconfiguration.h \
|
|
pfdqmlgadgetoptionspage.h
|
|
|
|
SOURCES += \
|
|
pfdqmlplugin.cpp \
|
|
pfdqmlgadget.cpp \
|
|
pfdqmlgadgetfactory.cpp \
|
|
pfdqmlgadgetwidget.cpp \
|
|
pfdqmlgadgetconfiguration.cpp \
|
|
pfdqmlgadgetoptionspage.cpp
|
|
|
|
|
|
contains(DEFINES,USE_OSG) {
|
|
LIBS += -losg -losgUtil -losgViewer -losgQt -losgDB -lOpenThreads -losgGA
|
|
LIBS += -losgEarth -losgEarthFeatures -losgEarthUtil
|
|
|
|
HEADERS += osgearth.h
|
|
SOURCES += osgearth.cpp
|
|
}
|
|
|
|
OTHER_FILES += PfdQml.pluginspec
|
|
|
|
FORMS += pfdqmlgadgetoptionspage.ui
|
|
|