12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- unix:system("./ivversion.sh ")
- unix:DEFINES += RUNSYSTEMTEST
- if(contains(DEFINES,RUNSYSTEMTEST)){
- unix:system("./linuxsystemtest.sh ")
- }
- DEFINES += MODULECOMM_NO_FASTRTPS
- unix:include(systemdef.pri)
- win32: DEFINES += SYSTEM_WIN
- INCLUDEPATH += $$PWD/../include/
- LIBS += -L$$PWD/../bin/ -lxmlparam -lmodulecomm -livlog -livfault -livexit -livbacktrace -livchart -livservice
- #LIBS += -L$$PWD/../bin/ -lmodulecomm_shm -lmodulecomm_fastrtps -lmodulecomm_fastrtps_tcp -lmodulecomm_inter
- unix:LIBS += -lboost_system -lbacktrace -ldl
- QMAKE_CXXFLAGS += -g
- CONFIG += c++11
- QMAKE_LFLAGS += -no-pie
- INCLUDEPATH += $$PWD/../src/include/msgtype
- INCLUDEPATH += $$PWD/../src/common/common
- if(contains(DEFINES,MODULECOMM_NO_FASTRTPS)){
- DEFINES += NOT_USEFASTRTPS
- }else{
- if(contains(DEFINES,SYSTEM_AGX)){
- DEFINES += USE_FASTRTPS
- LIBS += -L$$PWD/../thirdpartylib/FastRTPS/lib/libarm64
- system("cd ./../thirdpartylib/FastRTPS/lib ; unzip -x -n libarm64.zip ; cd ../../../include ; echo $PWD")
- }
- if(contains(DEFINES,SYSTEM_UBUNTU1804)){
- DEFINES += USE_FASTRTPS
- LIBS += -L$$PWD/../thirdpartylib/FastRTPS/lib/libamd64
- system("cd ./../thirdpartylib/FastRTPS/lib ; unzip -x -n libamd64.zip ; cd ../../../include ; echo $PWD")
- }
- }
- if(contains(DEFINES,USE_FASTRTPS)){
- LIBS += -lfastcdr -lfastrtps -ltinyxml2
- }
- CONFIG(release,debug|release){
- DEFINES += QT_NO_WARNING_OUTPUT
- DEFINES += QT_NO_DEBUG_OUTPUT
- }
|