modulecomm.pro 1.4 KB

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