modulecomm.pro 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. QT -= gui
  2. TEMPLATE = lib
  3. DEFINES += MODULECOMM_LIBRARY
  4. CONFIG += c++11
  5. # The following define makes your compiler emit warnings if you use
  6. # any Qt feature that has been marked deprecated (the exact warnings
  7. # depend on your compiler). Please consult the documentation of the
  8. # deprecated API in order to know how to port your code away from it.
  9. DEFINES += QT_DEPRECATED_WARNINGS
  10. # You can also make your code fail to compile if it uses deprecated APIs.
  11. # In order to do so, uncomment the following line.
  12. # You can also select to disable deprecated APIs only up to a certain version of Qt.
  13. #DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
  14. SOURCES += \
  15. modulecomm.cpp \
  16. modulecomm_base.cpp
  17. HEADERS += \
  18. modulecomm.h \
  19. modulecomm_base.h
  20. CONFIG += plugin
  21. # Default rules for deployment.
  22. unix {
  23. target.path = /usr/lib
  24. }
  25. !isEmpty(target.path): INSTALLS += target
  26. !include(./shm/modulecomm_shm.pri ) {
  27. error( "Couldn't find the modulecomm_shm.pri file!" )
  28. }
  29. !include(./inter/modulecomm_inter.pri ) {
  30. error( "Couldn't find the modulecomm_inter.pri file!" )
  31. }
  32. !include(./fastrtps/modulecomm_fastrtps.pri ) {
  33. error( "Couldn't find the modulecomm_fastrtps.pri file!" )
  34. }
  35. INCLUDEPATH += $$PWD/../modulecomm_shm
  36. INCLUDEPATH += $$PWD/../modulecomm_fastrtps
  37. INCLUDEPATH += $$PWD/../modulecomm_inter
  38. INCLUDEPATH += $$PWD/../modulecomm_fastrtps_tcp