driver_map_xodrload.pro 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. QT -= gui
  2. QT += xml dbus
  3. CONFIG += c++11 console
  4. CONFIG -= app_bundle
  5. # The following define makes your compiler emit warnings if you use
  6. # any feature of Qt which as 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. QMAKE_CXXFLAGS += -g
  11. # You can also make your code fail to compile if you use deprecated APIs.
  12. # In order to do so, uncomment the following line.
  13. # You can also select to disable deprecated APIs only up to a certain version of Qt.
  14. #DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
  15. SOURCES += main.cpp \
  16. fresnl.cpp \
  17. const.cpp \
  18. polevl.c \
  19. globalplan.cpp \
  20. dubins.c \
  21. gnss_coordinate_convert.cpp \
  22. service_roi_xodr.cpp \
  23. xodrplan.cpp \
  24. ../../include/msgtype/mapglobal.pb.cc \
  25. planglobal.cpp
  26. HEADERS += \
  27. ../../../include/ivexit.h \
  28. mconf.h \
  29. globalplan.h \
  30. gps_type.h \
  31. dubins.h \
  32. gnss_coordinate_convert.h \
  33. planpoint.h \
  34. service_roi_xodr.h \
  35. xodrplan.h \
  36. ../../include/msgtype/mapglobal.pb.h \
  37. planglobal.h
  38. !include(../../../include/common.pri ) {
  39. error( "Couldn't find the common.pri file!" )
  40. }
  41. !include(../../../include/ivprotobuf.pri ) {
  42. error( "Couldn't find the ivprotobuf.pri file!" )
  43. }
  44. !include(../../../include/ivboost.pri ) {
  45. error( "Couldn't find the ivboost.pri file!" )
  46. }
  47. !include(../../../include/iveigen.pri ) {
  48. error( "Couldn't find the iveigen.pri file!" )
  49. }
  50. !include(../../common/common/xodr/OpenDrive/OpenDrive.pri ) {
  51. error( "Couldn't find the OpenDrive.pri file!" )
  52. }
  53. !include(../../common/common/xodr/TinyXML/TinyXML.pri ) {
  54. error( "Couldn't find the TinyXML.pri file!" )
  55. }
  56. !include(../../common/common/xodr/xodrfunc/xodrfunc.pri ) {
  57. error( "Couldn't find the xodrfunc.pri file!" )
  58. }
  59. INCLUDEPATH += $$PWD/../../common/common/xodr
  60. INCLUDEPATH += $$PWD/../../common/common/xodr/xodrfunc
  61. DEFINES += INPILOT
  62. LIBS += -livprotoif
  63. #DEFINES += USE_UTM
  64. if(contains(DEFINES,USE_UTM)){
  65. LIBS += -lGeographic
  66. }
  67. QMAKE_CXXFLAGS += -g
  68. #DEFINES += USE_TMERS
  69. if(contains(DEFINES,USE_TMERS)){
  70. INCLUDEPATH += /home/nvidia/Downloads/proj-8.2.1/src
  71. LIBS += /home/nvidia/Downloads/proj-8.2.1/build/lib/libproj.so.22
  72. }
  73. #DEFINES += TESTSPEEDPLAN
  74. #LIBS += -lproj