Alpha quality.
Note: C++ highly depends on the installed dependencies in the system. This project uses VSCode Remote Container environment to build and develop cpp-sdk in a consistent way.
- Install Docker CLI
- Install VSCode
- Install VSCode Remote - Container extension
Alternatively, you can build the image yourself, based on the Dockerfile in the repository:
docker build -t cppsdk .
Then you can access the container's shell and execute commands in it:
docker run -it -v $(pwd):/sdk cppsdk /bin/bash
- Rebuild and commit generated API
export DAPR_TARGET=<runtime_release_tag> make refresh_proto_files && make && git add src/dapr/proto/*/v1/*{.cc,.h} dapr/proto/*/v1/*.proto git commit -m "Updating to dapr runtime $DAPR_TARGET"
- Submit a PR with the changes
- Make sure that you enable vscode remote container
- Build client
make all
- Make sure that you enable vscode remote container
- Run the example validation
cd examples/echo_app/ && mm.py README.md && echo SUCCESS