#-------------------------------------------------
#
# Project created by QtCreator 2019-06-12T14:07:57
#
#-------------------------------------------------

QT       += core gui

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

QT       += serialport network charts

TARGET = GrifoXLruMonitor
TEMPLATE = app

# The following define makes your compiler emit warnings if you use
# any feature of Qt which as been marked as deprecated (the exact warnings
# depend on your compiler). Please consult the documentation of the
# deprecated API in order to know how to port your code away from it.
DEFINES += QT_DEPRECATED_WARNINGS

# You can also make your code fail to compile if you use deprecated APIs.
# In order to do so, uncomment the following line.
# You can also select to disable deprecated APIs only up to a certain version of Qt.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0



SOURCES += main.cpp\
        grifoxlrumainwindow.cpp \
    xlruconnectiondialog.cpp \
    portbridge.cpp \
    xlruwidget.cpp \
    lruserialport.cpp \
    unitsimulator.cpp \
    unitmonitor.cpp \
    xlru/xlru_common_func.cpp \
    xlru/xlru_conversion.cpp \
    xlru/xlru_lcu.cpp \
    xlru/xlru_log.cpp \
    xlru/xlru_pps.cpp \
    xlru/xlru_psm.cpp \
	xlrutftp.cpp \
    telemetryclass.cpp \
    xlruchartclass.cpp \
    xlruchartconfig.cpp \
    xlrumultigfxform.cpp \
    xlrureportclass.cpp \
    callout.cpp \
    xlrusensorstable.cpp

HEADERS  += grifoxlrumainwindow.h \
    xlruconnectiondialog.h \
    portbridge.h \
    connectioninfo.h \
    xlruwidget.h \
    lruserialport.h \
    unitsimulator.h \
    common_def.h \
    unitmonitor.h \
    xlru/xlru_common_func.h \
    xlru/xlru_lcu.h \
    xlru/xlru_log.h \
    xlru/xlru_message_def.h \
    xlru/xlru_pps.h \
    xlru/xlru_psm.h \
    xlru/xlru_bytes_def.h \
    xlru/xlru_serial_over_udp.h \
    xlrutftp.h \
    xlru_fpga.h \
    telemetryclass.h \
    xlruchartclass.h \
    xlruchartconfig.h \
    xlrumultigfxform.h \
    xlrureportclass.h \
    callout.h \
    xlrusensorstable.h

FORMS    += grifoxlrumainwindow.ui \
    xlruconnectiondialog.ui \
    xlruwidget.ui \
    xlrumultigfxform.ui

INCLUDEPATH += xlru

CHIMERA_BASE = $$PWD/../../../../../DevEnv

INCLUDEPATH += $${CHIMERA_BASE}/ChimeraSDK/ChimeraSources/ChimeraPortable/pub/inc/bsk

win32:RC_ICONS += lpt-plug.ico

#REP_PRJ = $$PWD/../../..
#G_PATH = $$REP_PRJ/GrifoSDK/pub
#INCLUDEPATH += $$G_PATH/TH
#INCLUDEPATH += $$G_PATH/inc
#INCLUDEPATH += $$G_PATH/inc/ext
#INCLUDEPATH += $$REP_PRJ/GrifoSDK/dev/Portable/xlru

win32-g++:CONFIG(release, debug|release): QMAKE_POST_LINK = $${CHIMERA_BASE}\bin\g_binsign.exe .\release\GrifoXLruMonitor.exe //o //w /o=.\release\GrifoXLruMonitor.exe /db=$${PWD}\build_db-xlru.txt //q //q //q

RESOURCES += \
    grifoxlrumonitor.qrc
