TDengine.pro 865 B

12345678910111213141516171819202122232425262728293031323334353637
  1. QT -= gui
  2. TEMPLATE = lib
  3. DEFINES += TDENGINE_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 += ../../include/Client.h
  10. SOURCES += \
  11. TDengine.cpp
  12. HEADERS += \
  13. TDengine_global.h \
  14. TDengine.h
  15. TDENGINE_DIR =$$PWD/../../thirdparty/tdengine
  16. LIBS += -L$${TDENGINE_DIR}/lib -ltaos
  17. INCLUDEPATH += $${TDENGINE_DIR}/include
  18. INCLUDEPATH += $$PWD/../../modules/TDengineClient
  19. LIBS +=-L$$PWD/../../bin/plugins -lTDengineClient
  20. # Default rules for deployment.
  21. unix {
  22. target.path = /usr/lib
  23. }else{
  24. DESTDIR = $$PWD/../../bin/plugins
  25. }
  26. !isEmpty(target.path): INSTALLS += target