Updated README to build cpp client.
@@ -73,8 +73,8 @@ Run unit tests:
#### Install all dependencies:
```shell
-apt-get install g++ cmake libssl-dev libcurl4-openssl-dev liblog4cxx-dev \
- libprotobuf-dev libboost-all-dev libgtest-dev \
+apt-get install -y g++ cmake libssl-dev libcurl4-openssl-dev liblog4cxx-dev \
+ libprotobuf-dev libboost-all-dev libgtest-dev google-mock \
libjsoncpp-dev libxml2-utils protobuf-compiler python-setuptools
```
@@ -88,6 +88,16 @@ sudo cp *.a /usr/lib
```
+#### Compile and install Google Mock:
+
+```shell
+cd /usr/src/gmock
+sudo cmake .
+sudo make
+sudo cp *.a /usr/lib
+```
+
+
#### Compile Pulsar client library:
```shell
