#-------------------------------------------------
#
# Project created by QtCreator 2013-05-07T08:21:07
#
#-------------------------------------------------

QT       += core gui widgets script scripttools testlib printsupport

CONFIG -= import_plugins

TARGET = GrifoADS
TEMPLATE = app

SOURCES += main.cpp\
        mainwindow.cpp \
    ads_pluginloader.cpp \
    ADS/src/toollib/rtg_atom_win32.cpp \
    ADS/src/toollib/itc_triplebuffer.cpp \
    ADS/src/toollib/itc_multibuffer.cpp \
    ADS/src/toollib/time_metrics.cpp \
    ADS/src/wb/ads_debug.cpp \
    ADS/src/wb/adsplotwidget.cpp \
    ADS/src/wb/adsmonitorwidget.cpp \
    ADS/src/wb/ads_workbench.cpp \
    ADS/src/wb/ads_widgets.cpp \
    ADS/src/wb/ads_rawmsgwidget.cpp \
    ADS/src/wb/ads_mousegrabber.cpp \
    ADS/src/wb/ads_manager.cpp \
    ADS/src/wb/ads_fastslots.cpp \
    ADS/src/wb/ads_data.cpp \
    ADS/src/wb/qadsplot.cpp

#    g346/rdrstatusform.cpp \
#    g346/mcs_g346.cpp \
#    g346/icd_g346.cpp \
#    g346/grifotgtform.cpp \
#    g346/grifosnuform.cpp \
#    g346/grifosettingsform.cpp \
#    g346/grifordrcontrolform.cpp \
#    g346/grifogfxform.cpp \
#    g346/grifoflightsimulator.cpp \
#    g346/grifoflightsimulator.cpp \
#    g346/grifocmddock.cpp \
#    g346/grifobiteform.cpp \
#    g346/g346_common.cpp \
#    g346/g346_b9b10.cpp \
#    g346/g346_a4a5.cpp \
#    g346/g346_a1a2.cpp \

HEADERS  += mainwindow.h \
    ADS/inc/toollib/rtg_atomic.h \
    ADS/inc/toollib/itc_triplebuffer.h \
    ADS/inc/toollib/itc_multibuffer.h \
    ADS/inc/toollib/time_metrics.h \
    ADS/inc/ads_debug.h \
    ADS/src/wb/adsmonitorwidget.h \
    ADS/src/wb/ads_rawmsgwidget.h \
    ADS/inc/idd_types.h \
    ADS/inc/idd_pack16.h \
    ADS/inc/adsplotwidget.h \
    ADS/inc/ads_workbench.h \
    ADS/inc/ads_widgets.h \
    ADS/inc/ads_mousegrabber.h \
    ADS/inc/ads_manager.h \
    ADS/inc/ads_fastslots.h \
    ADS/inc/ads_data.h \
    ADS/inc/idd_unpack.h \
    ADS/src/wb/qadsplot.h \
    ads_pluginloader.h

#    g346/rdrstatusform.h \
#    g346/mcs_g346.h \
#    g346/icd_g346.h \
#    g346/grifotgtform.h \
#    g346/grifosnuform.h \
#    g346/grifosettingsform.h \
#    g346/grifordrcontrolform.h \
#    g346/grifogfxform.h \
#    g346/grifoflightsimulator.h \
#    g346/grifocmddock.h \
#    g346/grifobiteform.h \
#    g346/g346_common.h \
#    g346/g346_common.h \
#    g346/g346_b9b10.h \
#    g346/g346_a4a5.h \
#    g346/g346_a1a2.h \

INCLUDEPATH += ADS/inc \
    ADS/inc/toollib \
    ADS/inc/ext \
    ADS/src/wb \

INCLUDEPATH += ../ADS_Interfaces
INCLUDEPATH += ../ADS_Interfaces/AVB1553

FORMS    += mainwindow.ui \
    ADS/src/wb/adsmonitorwidget.ui

#    g346/grifotgtform.ui \
#    g346/grifosnuform.ui \
#    g346/grifosettingsform.ui \
#    g346/grifordrcontrolform.ui \
#    g346/grifogfxform.ui \
#    g346/grifogfxform.ui \
#    g346/grifoflightsimulator.ui \
#    g346/grifocmddock.ui \
#    g346/grifobiteform.ui \
#    g346/rdrstatusform.ui

RC_FILE = smallmimic_winres.rc

message($$OUT_PWD)

win32:CONFIG(release, Debug|release): LIBS += -L$$OUT_PWD/../GPL/release/ -lGPL
else:win32:CONFIG(Debug, Debug|release): LIBS += -L$$OUT_PWD/../GPL/debug/ -lGPL
else:symbian: LIBS += -lGPL
else:unix: LIBS += -L$$OUT_PWD/../GPL/ -lGPL

INCLUDEPATH += $$PWD/../GPL
DEPENDPATH += $$PWD/../GPL

win32:CONFIG(release, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../GPL/release/libGPL.a
else:win32:CONFIG(debug, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../GPL/debug/libGPL.a
else:unix:!symbian: PRE_TARGETDEPS += $$OUT_PWD/../GPL/libGPL.a

RESOURCES += \
    ads_reosurces.qrc

win32:CONFIG(release, Debug|release): LIBS += -L$$OUT_PWD/../ads_driver1553_ddc_sim/release/ -lads_driver1553_ddc_sim
else:win32:CONFIG(Debug, Debug|release): LIBS += -L$$OUT_PWD/../ads_driver1553_ddc_sim/debug/ -lads_driver1553_ddc_sim

INCLUDEPATH += $$PWD/../ads_driver1553_ddc_sim
DEPENDPATH += $$PWD/../ads_driver1553_ddc_sim

win32:CONFIG(release, Debug|release): PRE_TARGETDEPS += $$OUT_PWD/../ads_driver1553_ddc_sim/release/libads_driver1553_ddc_sim.a
else:win32:CONFIG(Debug, Debug|release): PRE_TARGETDEPS += $$OUT_PWD/../ads_driver1553_ddc_sim/debug/libads_driver1553_ddc_sim.a



#LIBS += -lwinmm
#include(C:/QtAddOn/dev/conan.pri)
#include(C:/QtAddOn/dev/qtpropertybrowser.pri)


#QTILITIES += testing
#include(C:/QtAddOn/dev/Qtilities.pri)

#include(C:/QtSDK/Desktop/Qt/4.8.1/mingw/user_add_on/qtpropertybrowser.pri)

win32:CONFIG(release, debug|release): LIBS += -L$$OUT_PWD/../GrifoMCS/MCS_G346/release/ -lMCS_G346
else:win32:CONFIG(debug, debug|release): LIBS += -L$$OUT_PWD/../GrifoMCS/MCS_G346/debug/ -lMCS_G346

INCLUDEPATH += $$PWD/../GrifoMCS/MCS_G346
DEPENDPATH += $$PWD/../GrifoMCS/MCS_G346

win32:CONFIG(release, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../GrifoMCS/MCS_G346/release/libMCS_G346.a
else:win32:CONFIG(debug, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../GrifoMCS/MCS_G346/debug/libMCS_G346.a
