From 53bb5096987739d269fe61a819210bee42ed567f Mon Sep 17 00:00:00 2001 From: Jack Green Date: Thu, 10 Apr 2025 22:52:00 +0100 Subject: [PATCH] Centralise C++ Client installations insturctions The installation instructions for the C++ client need adjusting - https://github.com/hazelcast/hazelcast-cpp-client/pull/1272 To save duplicating the fix, it's more maintainable to link to the existing instructions and avoid duplication. --- .../pages/cpp-client-getting-started.adoc | 30 +------------------ 1 file changed, 1 insertion(+), 29 deletions(-) diff --git a/docs/modules/ROOT/pages/cpp-client-getting-started.adoc b/docs/modules/ROOT/pages/cpp-client-getting-started.adoc index 8763445..c735b68 100644 --- a/docs/modules/ROOT/pages/cpp-client-getting-started.adoc +++ b/docs/modules/ROOT/pages/cpp-client-getting-started.adoc @@ -15,6 +15,7 @@ * C++ 11 or above * https://hazelcast.com/products/viridian/[Hazelcast Viridian Cloud Account] +* https://github.com/hazelcast/hazelcast-cpp-client#vcpkg-users[`vcpkg` & Hazelcast C++ client] * A text editor or IDE == Start a Hazelcast Viridian Cloud Cluster @@ -35,35 +36,6 @@ mkdir hazelcast-cpp-example cd hazelcast-cpp-example ---- -Download and install Vcpkg: + - -for Windows; -[source,bash] ----- -git clone https://github.com/microsoft/vcpkg -.\vcpkg\bootstrap-vcpkg.bat ----- - -for non-Windows; -[source,bash] ----- -git clone https://github.com/microsoft/vcpkg -./vcpkg/bootstrap-vcpkg.sh ----- - -Download and install hazelcast-cpp-client: + - -for Windows; -[source,bash] ----- -.\vcpkg\vcpkg.exe install "hazelcast-cpp-client[openssl]" --recurse ----- - -for non-Windows; -[source,bash] ----- -./vcpkg/vcpkg install "hazelcast-cpp-client[openssl]" --recurse ----- NOTE: Avoid directory names in your path that contain spaces or other non-standard characters.