detection_ndt_matching_gpu.pro 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. QT -= gui
  2. CONFIG += console c++17
  3. CONFIG -= app_bundle
  4. QMAKE_CXXFLAGS += -std=gnu++17
  5. QMAKE_LFLAGS += -no-pie
  6. # The following define makes your compiler emit warnings if you use
  7. # any feature of Qt which as been marked deprecated (the exact warnings
  8. # depend on your compiler). Please consult the documentation of the
  9. # deprecated API in order to know how to port your code away from it.
  10. DEFINES += QT_DEPRECATED_WARNINGS
  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. ndt_matching.cpp \
  17. ../../include/msgtype/ndtpos.pb.cc
  18. HEADERS += \
  19. ndt_matching.h \
  20. ../../include/msgtype/ndtpos.pb.h
  21. #INCLUDEPATH += /opt/ros/melodic/include
  22. INCLUDEPATH += /opt/ros/kinetic/include
  23. INCLUDEPATH += /usr/include/pcl-1.8
  24. INCLUDEPATH += /usr/include/pcl-1.7
  25. INCLUDEPATH += /usr/include/eigen3
  26. INCLUDEPATH += $$PWD/../../include/msgtype/
  27. #INCLUDEPATH += /usr/local/cuda-10.0/targets/aarch64-linux/include
  28. INCLUDEPATH += /usr/local/cuda-10.2/targets/x86_64-linux/include
  29. DEFINES += CUDA_FOUND
  30. unix:LIBS += -lboost_thread -lboost_system -lprotobuf
  31. unix:LIBS += -lpcl_common\
  32. -lpcl_features\
  33. -lpcl_filters\
  34. -lpcl_io\
  35. -lpcl_io_ply\
  36. -lpcl_kdtree\
  37. -lpcl_keypoints\
  38. -lpcl_octree\
  39. -lpcl_outofcore\
  40. -lpcl_people\
  41. -lpcl_recognition\
  42. -lpcl_registration\
  43. -lpcl_sample_consensus\
  44. -lpcl_search\
  45. -lpcl_segmentation\
  46. -lpcl_surface\
  47. -lpcl_tracking\
  48. -lpcl_visualization
  49. INCLUDEPATH += $$PWD/../../common/ndt_gpu/
  50. LIBS += -L$$PWD/../../common/ndt_gpu/ -lndt_gpu
  51. INCLUDEPATH += $$PWD/../../../include/
  52. LIBS += -L$$PWD/../../../bin/ -lxmlparam -lmodulecomm -livlog -livfault