UpdatePTUDevCtrl/UpdatePTUDevCtrl.pro

40 lines
1.2 KiB
Prolog

# QT -= gui
QT += core
QT += widgets serialport
QT += network
TARGET = up_dev_ctrl
CONFIG += c++11
# CONFIG -= app_bundle
QMAKE_CXXFLAGS += -Wno-deprecated-copy
# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
SOURCES += \
main.cpp \
message_handler.cpp \
load_dc_plugin.cpp \
commands_to_update_dc.cpp \
serial.cpp
HEADERS += \
message_handler.h \
load_dc_plugin.h \
commands_to_update_dc.h \
serial.h \
plugins/interfaces.h
# https://blog.developer.atlassian.com/the-power-of-git-subtree/?_ga=2-71978451-1385799339-1568044055-1068396449-1567112770
# git subtree add --prefix DCPlugin https://git.mimbach49.de/GerhardHoffmann/DCPlugin.git master --squash
# git subtree pull --prefix DCPlugin https://git.mimbach49.de/GerhardHoffmann/DCPlugin.git master --squash
include(./DCPlugin/DCPlugin.pri)
# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target