tree: 8f249ce017a7ea6c324f385e15e52181d8882b45 [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
|       +-- IClientRPCService.h
|       +-- rpc_types.h
|       +-- rpc_constants.h
|       +-- thrift
|           +-- thrift_headers...
|   +-- lib
|       +-- libiotdb_session.dylib
+-- CMakeLists.txt
+-- SessionExample.cpp