Skip to content

FindProtobuf: Add --grpc_out with PLUGIN protoc-gen-grpc

An example of intended usage:

protobuf_generate_cpp(
  helloworld_proto_srcs
  helloworld_proto_hdrs
  helloworld.proto
  PLUGIN "protoc-gen-grpc=${_GRPC_CPP_PLUGIN_EXECUTABLE}"
  GENERATE_EXTENSIONS .pb.h .pb.cc .grpc.pb.h .grpc.pb.cc
)

Check discussion on discourse.

Topic-rename: FindProtobuf-grpc-out

Edited by Brad King

Merge request reports