palm icon indicating copy to clipboard operation
palm copied to clipboard

protoc compatible plugin

Open schmichael opened this issue 11 years ago • 0 comments

It would be handy to integrate into Google's protoc tool to simplify usage and integrate with cross-platform projects more easily.

Plugins are as "simple" as a binary named protoc-gen-$NAME:

// A plugin executable needs only to be placed somewhere in the path.  The
// plugin should be named "protoc-gen-$NAME", and will then be used when the
// flag "--${NAME}_out" is passed to protoc.

via: https://developers.google.com/protocol-buffers/docs/reference/cpp/google.protobuf.compiler.plugin.pb

See also: https://developers.google.com/protocol-buffers/docs/reference/other

(I know this is probably a lot of work for only a slight bump in usability, but a guy can dream right?)

schmichael avatar Mar 04 '13 19:03 schmichael