driver_can_socket.pro 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. QT -= gui
  2. QT += network xml dbus
  3. CONFIG += c++11 console
  4. CONFIG -= app_bundle
  5. QMAKE_LFLAGS += -no-pie
  6. DEFINES += NV
  7. # The following define makes your compiler emit warnings if you use
  8. # any feature of Qt which as been marked deprecated (the exact warnings
  9. # depend on your compiler). Please consult the documentation of the
  10. # deprecated API in order to know how to port your code away from it.
  11. DEFINES += QT_DEPRECATED_WARNINGS
  12. !include(../../../include/common.pri ) {
  13. error( "Couldn't find the common.pri file!" )
  14. }
  15. !include(../../../include/ivprotobuf.pri ) {
  16. error( "Couldn't find the ivprotobuf.pri file!" )
  17. }
  18. #DEFINES += TEST_PROG
  19. DEFINES += SEND_STAT
  20. INCLUDEPATH += $$PWD/../../include/base/driver/can
  21. # You can also make your code fail to compile if you use deprecated APIs.
  22. # In order to do so, uncomment the following line.
  23. # You can also select to disable deprecated APIs only up to a certain version of Qt.
  24. #DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
  25. SOURCES += main.cpp \
  26. nvcan.cpp \
  27. canctrl.cpp \
  28. ../../include/msgtype/canmsg.pb.cc \
  29. ../../include/msgtype/canraw.pb.cc \
  30. ../../include/msgtype/canstate.pb.cc \
  31. ../../include/base/driver/can/basecan.cpp
  32. HEADERS += \
  33. nvcan.h \
  34. canctrl.h \
  35. ../../include/msgtype/canmsg.pb.h \
  36. ../../include/msgtype/canraw.pb.h \
  37. ../../include/msgtype/canstate.pb.h \
  38. ../../include/base/driver/can/basecan.h