[protobuf] using the new plugin infrastructure

2010-06-01 Thread marcmo
hello, i'm trying to make use of the compiler plugin infrastructure that was released with 2.3.0. using the c++ api to access the elements in a *.proto file seems straight forward and i got a small example working. but i have trouble to use the insertion points correctly. can anybody provide a sm

[protobuf] Re: using the new plugin infrastructure

2010-07-05 Thread marcmo
prot... > > > > On Tue, Jun 1, 2010 at 4:00 AM, marcmo wrote: > > hello, > > i'm trying to make use of the compiler plugin infrastructure that was > > released with 2.3.0. > > > using the c++ api to access the elements in a *.proto file seems > > st

[protobuf] Re: using the new plugin infrastructure

2010-07-08 Thread marcmo
toc --cpp_out=outdir --myplugin_out=outdir >   # WRONG >   protoc --myplugin_out=outdir --cpp_out=outdir  # wrong order >   protoc --myplugin_out=outdir # missing --cpp_out >   protoc --cpp_out=outdir --myplugin_out=outdir2  # output directories don't > match > > >