123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 |
- 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
- !exists(./../bin/libmodulecomm.so){
- message("No library file. Now create common library.")
- system(PWD=`pwd`; cd ..;bash autogen_lib.sh;cd $PWD)
- }
- #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
- }
|