Skip to content

Commit 4fb0ce0

Browse files
committed
Address C++ client packaging review comments
1 parent 4187837 commit 4fb0ce0

2 files changed

Lines changed: 14 additions & 2 deletions

File tree

distribution/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@
143143
</os>
144144
</activation>
145145
<properties>
146-
<client.cpp.package.classifier>linux-x86_64-glibc2.17</client.cpp.package.classifier>
146+
<client.cpp.package.classifier>linux-x86_64-glibc2.28</client.cpp.package.classifier>
147147
</properties>
148148
</profile>
149149
<profile>
@@ -156,7 +156,7 @@
156156
</os>
157157
</activation>
158158
<properties>
159-
<client.cpp.package.classifier>linux-aarch64-glibc2.17</client.cpp.package.classifier>
159+
<client.cpp.package.classifier>linux-aarch64-glibc2.28</client.cpp.package.classifier>
160160
</properties>
161161
</profile>
162162
<profile>

iotdb-client/client-cpp/README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -409,6 +409,18 @@ mvn -P with-cpp -pl iotdb-client/client-cpp -am -DskipTests package
409409
mvn -P with-cpp -pl iotdb-client/client-cpp -am -DskipTests "-Dboost.include.dir=C:\boost_1_88_0" package
410410
```
411411

412+
Standalone CMake uses the same online dependency resolution:
413+
414+
```bash
415+
# Linux / macOS
416+
cmake -S iotdb-client/client-cpp -B build -DCMAKE_BUILD_TYPE=Release
417+
cmake --build build --target install
418+
419+
# Windows / Visual Studio
420+
cmake -S iotdb-client/client-cpp -B build -G "Visual Studio 17 2022" -A x64
421+
cmake --build build --config Release --target install
422+
```
423+
412424
## Offline build
413425

414426
1. Pre-populate the platform-specific sub-directory under `third-party/`:

0 commit comments

Comments
 (0)