FindProtobuf: could generate grpc output with just a few tiny changes
Currently the only thing that prevents protobuf_generate
being used to also generate .grpc.pb.cc and grpc.pb.h is the fact that output format is hardcoded into "cpp" and "py". if "grpc" was added to that list to create "grpc_out" format it would be usable for creating grpc files too since it's just a parameter that is passed to protoc and doesn't need any fancy processing by the module itself.
(I have tested it by manually editing the module and it works without problems)
Edited by Brad King