Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
create cpp output with protoc
protoc -Iapi/proto/v1 -Ithird_party --grpc-cpp_out=cmd/client-rest-cpp/api/v1 --cpp_out=cmd/client-rest-cpp/api/v1 --plugin=protoc-gen-grpc-cpp="C:\\Program Files (x86)\\grpc\\bin\\grpc_cpp_plugin.exe" todo-service.proto
protoc -Ithird_party --plugin=protoc-gen-grpc-cpp="C:\\Program Files (x86)\\grpc\\bin\\grpc_cpp_plugin.exe" --cpp_out=cmd/client-rest-cpp/api/v1 third_party/google/api/annotations.proto
protoc -Ithird_party --plugin=protoc-gen-grpc-cpp="C:\\Program Files (x86)\\grpc\\bin\\grpc_cpp_plugin.exe" --cpp_out=cmd/client-rest-cpp/api/v1 third_party/google/api/http.proto
protoc -Ithird_party --plugin=protoc-gen-grpc-cpp="C:\\Program Files (x86)\\grpc\\bin\\grpc_cpp_plugin.exe" --cpp_out=cmd/client-rest-cpp/api/v1 third_party/protoc-gen-swagger/options/annotations.proto
protoc -Ithird_party --plugin=protoc-gen-grpc-cpp="C:\\Program Files (x86)\\grpc\\bin\\grpc_cpp_plugin.exe" --cpp_out=cmd/client-rest-cpp/api/v1 third_party/protoc-gen-swagger/options/openapiv2.proto
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.