123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 |
- QT -= gui
- QT += dbus
- QT += xml
- CONFIG += c++11 console
- CONFIG -= app_bundle
- DEFINES += USE_FASTRTPS
- DEFINES += USEDBUS
- DEFINES += QT_DEPRECATED_WARNINGS
- SOURCES += \
- main.cpp \
- modulecomm.cpp \
- modulecomm_base.cpp
- qnx: target.path = /tmp/$${TARGET}/bin
- else: unix:!android: target.path = /opt/$${TARGET}/bin
- !isEmpty(target.path): INSTALLS += target
- !include(./shm/modulecomm_shm.pri ) {
- error( "Couldn't find the modulecomm_shm.pri file!" )
- }
- !include(./inter/modulecomm_inter.pri ) {
- error( "Couldn't find the modulecomm_inter.pri file!" )
- }
- if(contains(DEFINES,USE_FASTRTPS)){
- !include(./fastrtps/modulecomm_fastrtps.pri ) {
- error( "Couldn't find the modulecomm_fastrtps.pri file!" )
- }
- }
- INCLUDEPATH += $$PWD/shm
- INCLUDEPATH += $$PWD/fastrtps
- INCLUDEPATH += $$PWD/inter
- if(contains(DEFINES,USE_FASTRTPS)){
- LIBS += -L$$PWD -lfastcdr -lfastrtps
- }
- HEADERS += \
- modulecomm.h \
- modulecomm_base.h
|