Skip to content

Commit

Permalink
perf: add cpp grpc
Browse files Browse the repository at this point in the history
  • Loading branch information
LeeEirc committed Dec 30, 2024
1 parent 136114a commit 7722f04
Show file tree
Hide file tree
Showing 9 changed files with 53,785 additions and 1 deletion.
11 changes: 10 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -113,4 +113,13 @@ proto-rust:
--plugin=protoc-gen-tonic=$(shell which protoc-gen-tonic) \
--prost_out=./protobuf-rs \
--tonic_out=./protobuf-rs \
${proto_files}
${proto_files}


.PHONY: proto-cplusplus
proto-cplusplus:
@mkdir -p ./protobuf-cpp
protoc --proto_path=${proto_path} --cpp_out=./protobuf-cpp \
--grpc_out=./protobuf-cpp \
--plugin=protoc-gen-grpc=$(shell which grpc_cpp_plugin) \
${proto_files}
25 changes: 25 additions & 0 deletions protobuf-cpp/common.grpc.pb.cc

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

33 changes: 33 additions & 0 deletions protobuf-cpp/common.grpc.pb.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 7722f04

Please sign in to comment.