57 lines
1.4 KiB
Prolog
57 lines
1.4 KiB
Prolog
|
QT += network xml
|
||
|
|
||
|
TEMPLATE = lib
|
||
|
DEFINES += ADCCLUSTER_LIBRARY
|
||
|
|
||
|
CONFIG += plugin
|
||
|
|
||
|
CONFIG += c++17
|
||
|
|
||
|
DISTFILES += ADCCluster.json
|
||
|
|
||
|
SOURCES += \
|
||
|
adc.cpp \
|
||
|
adcchannel.cpp \
|
||
|
adccluster.cpp \
|
||
|
adccluster_device.cpp \
|
||
|
adcqueue.cpp \
|
||
|
clusterstack.cpp \
|
||
|
idserver.cpp \
|
||
|
rrdstack.cpp \
|
||
|
singlestack.cpp \
|
||
|
stpclient.cpp
|
||
|
|
||
|
HEADERS += \
|
||
|
adc.h \
|
||
|
adcchannel.h \
|
||
|
adccluster.h \
|
||
|
adccluster_device.h \
|
||
|
adcqueue.h \
|
||
|
adcregisters.h \
|
||
|
clusterstack.h \
|
||
|
idserver.h \
|
||
|
rrdstack.h \
|
||
|
singlestack.h \
|
||
|
stpclient.h \
|
||
|
stpdefine.h
|
||
|
|
||
|
win32:CONFIG(release, debug|release): DESTDIR = ../../.output/.hwplugins/release
|
||
|
else:win32:CONFIG(debug, debug|release): DESTDIR = ../../.output/.hwplugins/debug
|
||
|
else:unix: DESTDIR = ../../.ouput/.hwplugins
|
||
|
|
||
|
unix {
|
||
|
target.path = $$[QT_INSTALL_PLUGINS]/generic
|
||
|
}
|
||
|
!isEmpty(target.path): INSTALLS += target
|
||
|
|
||
|
INCLUDEPATH += $$PWD/../..
|
||
|
DEPENDPATH += $$PWD/../..
|
||
|
|
||
|
win32:CONFIG(release, debug|release): LIBS += -L$$PWD/../../.output/release/ -lgtl_hw
|
||
|
else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/../../.output/debug/ -lgtl_hw
|
||
|
else:unix: LIBS += -L$$PWD/../../.output/ -lgtl_hw
|
||
|
|
||
|
win32:CONFIG(release, debug|release): LIBS += -L$$PWD/../../.output/release/ -lgtl_core
|
||
|
else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/../../.output/debug/ -lgtl_core
|
||
|
else:unix: LIBS += -L$$PWD/../../.output/ -lgtl_core
|