diff options
| author | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
|---|---|---|
| committer | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
| commit | 54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch) | |
| tree | d915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/qtgrpc/portfile.cmake | |
Diffstat (limited to 'vcpkg/ports/qtgrpc/portfile.cmake')
| -rw-r--r-- | vcpkg/ports/qtgrpc/portfile.cmake | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/vcpkg/ports/qtgrpc/portfile.cmake b/vcpkg/ports/qtgrpc/portfile.cmake new file mode 100644 index 0000000..4304d66 --- /dev/null +++ b/vcpkg/ports/qtgrpc/portfile.cmake @@ -0,0 +1,17 @@ +set(SCRIPT_PATH "${CURRENT_INSTALLED_DIR}/share/qtbase") +include("${SCRIPT_PATH}/qt_install_submodule.cmake") + +set(${PORT}_PATCHES protoc-host.patch) +set(TOOL_NAMES qtprotobufgen qtgrpcgen) +# native_grpc ->grpc WrapgRPC +# grp -> qt[network] +# qtprotobufgen -> protobuf WrapProtobuf +qt_install_submodule(PATCHES ${${PORT}_PATCHES} + TOOL_NAMES ${TOOL_NAMES} + CONFIGURE_OPTIONS + -DCMAKE_FIND_PACKAGE_TARGETS_GLOBAL=ON + #--trace-expand + CONFIGURE_OPTIONS_MAYBE_UNUSED + QT_BUILD_EXAMPLES + QT_USE_DEFAULT_CMAKE_OPTIMIZATION_FLAGS + ) |