This is an automated email from the ASF dual-hosted git repository.
baodi pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pulsar-client-cpp.git
The following commit(s) were added to refs/heads/main by this push:
new 4338d45 [doc] Fix compile perf on MacOS and Ubuntu. (#263)
4338d45 is described below
commit 4338d455a52db0bfc87593718e05b9fb630c5582
Author: Baodi Shi <[email protected]>
AuthorDate: Sat May 6 11:59:07 2023 +0800
[doc] Fix compile perf on MacOS and Ubuntu. (#263)
* Fix compile perf on MacOS and Ubuntu.
* Fix code reviews.
---
README.md | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/README.md b/README.md
index e3691c5..66eeb70 100644
--- a/README.md
+++ b/README.md
@@ -87,6 +87,13 @@ cmake .
make
```
+If you want to build performance tools, you need to run:
+
+```shell
+cmake . -DBUILD_PERF_TOOLS=ON
+make
+```
+
#### Checks
Client library will be placed in:
@@ -96,6 +103,12 @@ lib/libpulsar.so
lib/libpulsar.a
```
+Examples will be placed in:
+
+```
+examples/
+```
+
Tools will be placed in:
```
@@ -118,6 +131,13 @@ cmake .
make
```
+If you want to build performance tools, you need to run:
+
+```shell
+cmake . -DBUILD_PERF_TOOLS=ON
+make
+```
+
#### Checks
Client library will be placed in:
@@ -127,6 +147,12 @@ lib/libpulsar.dylib
lib/libpulsar.a
```
+Examples will be placed in:
+
+```
+examples/
+```
+
Tools will be placed in:
```