driver_grpc_server.pro 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. QT -= gui
  2. CONFIG += c++11 console
  3. CONFIG -= app_bundle
  4. # The following define makes your compiler emit warnings if you use
  5. # any Qt feature that has been marked deprecated (the exact warnings
  6. # depend on your compiler). Please consult the documentation of the
  7. # deprecated API in order to know how to port your code away from it.
  8. DEFINES += QT_DEPRECATED_WARNINGS
  9. # You can also make your code fail to compile if it uses deprecated APIs.
  10. # In order to do so, uncomment the following line.
  11. # You can also select to disable deprecated APIs only up to a certain version of Qt.
  12. #DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
  13. SOURCES += \
  14. ../driver_grpc_client/ivgrpc.grpc.pb.cc \
  15. ../driver_grpc_client/ivgrpc.pb.cc \
  16. main.cpp
  17. # Default rules for deployment.
  18. qnx: target.path = /tmp/$${TARGET}/bin
  19. else: unix:!android: target.path = /opt/$${TARGET}/bin
  20. !isEmpty(target.path): INSTALLS += target
  21. !include(../../../include/common.pri ) {
  22. error( "Couldn't find the common.pri file!" )
  23. }
  24. !include(../../../include/ivprotobuf.pri ) {
  25. error( "Couldn't find the ivprotobuf.pri file!" )
  26. }
  27. !include(../../../include/ivboost.pri ) {
  28. error( "Couldn't find the ivboost.pri file!" )
  29. }
  30. !include(../../../include/ivgrpc.pri ) {
  31. error( "Couldn't find the ivgrpc.pri file!" )
  32. }
  33. !include(../../../include/ivyaml-cpp.pri ) {
  34. error( "Couldn't find the ivyaml-cpp.pri file!" )
  35. }
  36. INCLUDEPATH += $$PWD/../driver_grpc_client
  37. HEADERS += \
  38. ../driver_grpc_client/ivgrpc.grpc.pb.h \
  39. ../driver_grpc_client/ivgrpc.pb.h