How to build a specific code generator with CMake

7 views
Skip to first unread message

Gorka Lerchundi Osa

unread,
May 7, 2021, 2:35:34 AMMay 7
to grpc.io
Hi!

We're trying to build just the csharp code generator but weren't able to find out the specific CMake commands & parameters to avoid building the rest of the things?

Does anybody know how to achieve this?

Thanks!

Gorka Lerchundi Osa

unread,
May 7, 2021, 2:37:59 AMMay 7
to grpc.io
This is what we're doing right now:

mkdir -p cmake/build && \
cd cmake/build && \
cmake ../.. && \
make install && \
cp grpc_csharp_plugin /usr/local/bin/protoc-gen-grpc-csharp
Reply all
Reply to author
Forward
0 new messages