testserver.pro 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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 feature of Qt which as 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 you use 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. main.cpp \
  15. globalenumssamenamespace.grpc.pb.cc \
  16. globalenumssamenamespace.pb.cc \
  17. globalenums.grpc.pb.cc \
  18. simpletest.grpc.pb.cc \
  19. simpletest.pb.cc \
  20. testservice.grpc.pb.cc \
  21. testservice.pb.cc \
  22. globalenums.pb.cc
  23. # Default rules for deployment.
  24. qnx: target.path = /tmp/$${TARGET}/bin
  25. else: unix:!android: target.path = /opt/$${TARGET}/bin
  26. !isEmpty(target.path): INSTALLS += target
  27. HEADERS += \
  28. helloworld.grpc.pb.h \
  29. helloworld.pb.h \
  30. globalenumssamenamespace.grpc.pb.h \
  31. globalenumssamenamespace.pb.h \
  32. globalenums.grpc.pb.h \
  33. simpletest.grpc.pb.h \
  34. simpletest.pb.h \
  35. testservice.grpc.pb.h \
  36. testservice.pb.h \
  37. globalenums.pb.h
  38. LIBS += -lgrpc++ -lprotobuf