tree: 300ee23760b87849473898cefbc9855c7ace285d [path history] [tgz]
  1. src/
  2. pom.xml
  3. README.md
example/client-cpp-example/README.md

How to get a complete CPP client demo project

get a project

using maven to build this example project:

  • cd the root path of the whole project
  • run mvn package -DskipTests -P compile-cpp -pl example/client-cpp-example -am
  • cd example/client-cpp-example/target

You can find some files to form a complete project:

+-- client
|   +-- include
|       +-- Session.h
|       +-- TSIService.h
|       +-- rpc_types.h
|       +-- rpc_constants.h
|       +-- thrift
|           +-- thrift_headers...
|   +-- lib
|       +-- libiotdb_session.dylib
+-- CMakeLists.txt
+-- SessionExample.cpp