CMakeLists.txt 651 B

1234567891011121314151617181920212223
  1. qt_internal_add_test(tst_grpc_client_qml
  2. GUI
  3. QMLTEST
  4. SOURCES
  5. grpcclientqmltest.cpp
  6. serverlauncher.h serverlauncher.cpp
  7. PUBLIC_LIBRARIES
  8. Qt::Gui
  9. Qt::Qml
  10. Qt::Grpc
  11. Qt::Protobuf
  12. TESTDATA
  13. qml/tst_grpcclient.qml
  14. DEFINES
  15. QT_GRPC_SERVER_EXECUTABLE=\"$<TARGET_FILE:echoserver>\"
  16. )
  17. _qt_internal_link_protobuf_objects(tst_grpc_client_qml tst_grpc_tests_common_gen)
  18. # TODO Qt6: Restore or remove the code related to the reference gRPC implementation
  19. # if(QT_PROTOBUF_NATIVE_GRPC_CHANNEL)
  20. # include("${CMAKE_CURRENT_LIST_DIR}/native_grpc_channel_tests.cmake")
  21. # endif()