TDengineSubscriber.pro 982 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. QT -= gui
  2. TEMPLATE = lib
  3. DEFINES += TDENGINESUBSCRIBER_LIBRARY
  4. CONFIG += c++17
  5. # You can make your code fail to compile if it uses deprecated APIs.
  6. # In order to do so, uncomment the following line.
  7. #DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
  8. INCLUDEPATH += ../../include
  9. HEADERS += \
  10. ../../include/LibraryLoader.h \
  11. ../../include/Publisher.h
  12. #Redis.h
  13. SOURCES += \
  14. TDengineSubscriber.cpp
  15. #Redis.cpp \
  16. HEADERS += \
  17. TDengineSubscriber.h \
  18. TDengineSubscriber_global.h
  19. TDENGINE_DIR =$$PWD/../../thirdparty/tdengine
  20. LIBS += -L$${TDENGINE_DIR}/lib -ltaos
  21. INCLUDEPATH += $${TDENGINE_DIR}/include
  22. INCLUDEPATH += $$PWD/../../modules/TDengineClient
  23. LIBS +=-L$$PWD/../../bin/plugins -lTDengineClient
  24. # Default rules for deployment.
  25. unix {
  26. target.path = /usr/lib
  27. }else{
  28. DESTDIR = $$PWD/../../bin/plugins
  29. }
  30. !isEmpty(target.path): INSTALLS += target