driver_cloud_swap_server.pro 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. QT -= gui
  2. CONFIG += c++11 console
  3. CONFIG -= app_bundle
  4. QMAKE_LFLAGS += -no-pie
  5. # The following define makes your compiler emit warnings if you use
  6. # any Qt feature that has 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. # You can also make your code fail to compile if it uses deprecated APIs.
  11. # In order to do so, uncomment the following line.
  12. # You can also select to disable deprecated APIs only up to a certain version of Qt.
  13. #DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
  14. SOURCES += \
  15. main.cpp \
  16. cloudswap.grpc.pb.cc \
  17. swapserver.cpp \
  18. swapunit.cpp \
  19. ../../include/msgtype/cloudswap.pb.cc
  20. # Default rules for deployment.
  21. qnx: target.path = /tmp/$${TARGET}/bin
  22. else: unix:!android: target.path = /opt/$${TARGET}/bin
  23. !isEmpty(target.path): INSTALLS += target
  24. !include(../../../include/common.pri ) {
  25. error( "Couldn't find the common.pri file!" )
  26. }
  27. !include(../../../include/ivprotobuf.pri ) {
  28. error( "Couldn't find the ivprotobuf.pri file!" )
  29. }
  30. !include(../../../include/ivboost.pri ) {
  31. error( "Couldn't find the ivboost.pri file!" )
  32. }
  33. !include(../../../include/ivgrpc.pri ) {
  34. error( "Couldn't find the ivgrpc.pri file!" )
  35. }
  36. HEADERS += \
  37. cloudswap.grpc.pb.h \
  38. swapserver.h \
  39. swapunit.h \
  40. ../../include/msgtype/cloudswap.pb.h