2013-08-21 18:16:26 +00:00
|
|
|
QT += widgets
|
|
|
|
|
2014-04-07 09:28:04 +00:00
|
|
|
HEADERS += mainwindow.h backend.h regtab.h analyser.h settings.h \
|
2014-05-12 05:59:24 +00:00
|
|
|
std_analysers.h utils.h regdisplaypanel.h regedit.h
|
2014-04-07 09:28:04 +00:00
|
|
|
SOURCES += main.cpp mainwindow.cpp regtab.cpp backend.cpp analyser.cpp \
|
2014-05-12 05:59:24 +00:00
|
|
|
std_analysers.cpp settings.cpp utils.cpp regdisplaypanel.cpp regedit.cpp
|
2013-08-21 18:16:26 +00:00
|
|
|
LIBS += -L../lib/ -lsocdesc -lxml2
|
2014-12-14 10:53:55 +00:00
|
|
|
INCLUDEPATH += ../include/ ../../hwstub/lib
|
2015-03-04 10:19:36 +00:00
|
|
|
DEPENDPATH += ../
|
|
|
|
|
|
|
|
libsocdesc.commands = cd ../lib && make
|
|
|
|
QMAKE_EXTRA_TARGETS += libsocdesc
|
|
|
|
PRE_TARGETDEPS += libsocdesc
|
2013-08-21 18:16:26 +00:00
|
|
|
|
2014-12-14 10:53:55 +00:00
|
|
|
VERSION = 2.1.0
|
2014-05-01 22:32:41 +00:00
|
|
|
|
|
|
|
DEFINES += APP_VERSION=\\\"$$VERSION\\\"
|
|
|
|
|
2014-02-03 23:18:51 +00:00
|
|
|
unix {
|
|
|
|
!nohwstub {
|
|
|
|
message("Use 'qmake -config nohwstub' if you want to disable hwstub support")
|
2015-03-04 10:19:36 +00:00
|
|
|
libhwstub.commands = cd ../../hwstub/lib && make
|
|
|
|
QMAKE_EXTRA_TARGETS += libhwstub
|
|
|
|
PRE_TARGETDEPS += libhwstub
|
|
|
|
|
2014-02-03 23:18:51 +00:00
|
|
|
LIBS += -L../../hwstub/lib -lhwstub
|
2015-03-04 10:19:36 +00:00
|
|
|
DEPENDPATH += ../../hwstub
|
2014-02-03 23:18:51 +00:00
|
|
|
DEFINES += HAVE_HWSTUB
|
|
|
|
CONFIG += link_pkgconfig
|
|
|
|
PKGCONFIG += libusb-1.0
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
CONFIG += debug
|