mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-05 16:46:06 +01:00
60 lines
1.3 KiB
Prolog
60 lines
1.3 KiB
Prolog
TEMPLATE = lib
|
|
TARGET = Uploader
|
|
DEFINES += UPLOADER_LIBRARY
|
|
|
|
QT += svg serialport
|
|
|
|
include(uploader_dependencies.pri)
|
|
include(../../libs/version_info/version_info.pri)
|
|
|
|
macx {
|
|
QMAKE_CXXFLAGS += -fpermissive
|
|
}
|
|
|
|
HEADERS += uploadergadget.h \
|
|
uploadergadgetconfiguration.h \
|
|
uploadergadgetfactory.h \
|
|
uploadergadgetoptionspage.h \
|
|
uploadergadgetwidget.h \
|
|
uploaderplugin.h \
|
|
op_dfu.h \
|
|
delay.h \
|
|
devicewidget.h \
|
|
SSP/port.h \
|
|
SSP/qssp.h \
|
|
SSP/qsspt.h \
|
|
SSP/common.h \
|
|
runningdevicewidget.h \
|
|
uploader_global.h \
|
|
enums.h
|
|
|
|
SOURCES += uploadergadget.cpp \
|
|
uploadergadgetconfiguration.cpp \
|
|
uploadergadgetfactory.cpp \
|
|
uploadergadgetoptionspage.cpp \
|
|
uploadergadgetwidget.cpp \
|
|
uploaderplugin.cpp \
|
|
op_dfu.cpp \
|
|
delay.cpp \
|
|
devicewidget.cpp \
|
|
SSP/port.cpp \
|
|
SSP/qssp.cpp \
|
|
SSP/qsspt.cpp \
|
|
runningdevicewidget.cpp
|
|
|
|
OTHER_FILES += Uploader.pluginspec \
|
|
|
|
FORMS += \
|
|
uploader.ui \
|
|
devicewidget.ui \
|
|
runningdevicewidget.ui
|
|
|
|
RESOURCES += \
|
|
uploader.qrc
|
|
|
|
exists( ../../../../../build/openpilotgcs-synthetics/opfw_resource.qrc ) {
|
|
RESOURCES += ../../../../../build/openpilotgcs-synthetics/opfw_resource.qrc
|
|
} else {
|
|
message("opfw_resource.qrc is not available, automatic firmware upgrades are disabled")
|
|
}
|