FindProtobuf: Add PLUGIN parameter to protobuf_generate
This allows for example reusing the function for generating gRPC code by specifying which grpc plugin to use.
Showing
- Modules/FindProtobuf.cmake 6 additions, 2 deletionsModules/FindProtobuf.cmake
- Tests/FindProtobuf/CMakeLists.txt 1 addition, 0 deletionsTests/FindProtobuf/CMakeLists.txt
- Tests/FindProtobuf/Test/CMakeLists.txt 13 additions, 0 deletionsTests/FindProtobuf/Test/CMakeLists.txt
- Tests/FindProtobuf/Test/main-generate-grpc.cxx 6 additions, 0 deletionsTests/FindProtobuf/Test/main-generate-grpc.cxx
- Tests/FindProtobuf/Test/msgs/example_service.proto 8 additions, 0 deletionsTests/FindProtobuf/Test/msgs/example_service.proto
Please register or sign in to comment