@@ -73,4 +73,27 @@ This folder contains an extensive collection of Hazelcast C++ Client code sample
7373
7474See reference
7575manual [ Advanced Installation section] ( https://docs.hazelcast.com/hazelcast/latest/clients/cplusplus#advanced-installation )
76- to build and run the examples.
76+ to build the examples (Basically, you use the ` -DBUILD_EXAMPLES=ON ` flag for cmake).
77+
78+ In order to run the examples, you need to have a Hazelcast cluster
79+ running. You can either use a local Hazelcast cluster or a Hazelcast
80+ Cloud cluster. For local Hazelcast cluster, you can follow the instructions
81+ in the [ Start a Local Cluster in Docker] ( https://docs.hazelcast.com/hazelcast/latest/getting-started/get-started-docker )
82+ to set up a Hazelcast cluster on your local machine.
83+
84+ Some examples may require Enterprise features. In that case, you need to have a Hazelcast
85+ Enterprise cluster running. For local Hazelcast Enterprise cluster,
86+ you can follow the instructions in
87+ the [ Get started with Hazelcast Enterprise Edition] ( https://docs.hazelcast.com/hazelcast/latest/getting-started/get-started-enterprise )
88+ to set up a Hazelcast Enterprise cluster on your local machine.
89+
90+ Some examples may require additional configuration on the server side. The server configuration xml files are provided
91+ in the respective example folders. You can use these configuration files when starting the Hazelcast server instances.
92+
93+ Once you have a Hazelcast cluster running, you can run the examples which you already built as described above. The
94+ built example binaries are located in the ` <BUILD_FOLDER_PATH>/examples/ ` folder. Navigate to the respective example
95+ folder and run the example binary. You can also see the example binary name in the CMakeLists.txt file located at
96+ the respective example folder.
97+
98+ In order to run some of the examples, you may need to provide the additional jar files at the server classpath. The
99+ required jar files are mentioned in the respective example README files.
0 commit comments