Closed GoogleCodeExporter closed 9 years ago
Here is how it works:
Support you invoke protoc as:
protoc -Ipath1 --cpp_out=path2 path1/path3/test.proto
protoc will generate:
path2/path3/test.pb.h
path2/path3/test.pb.cc
The canonical name of the .proto file will be "path3/test.proto" and that's the
name used to refer to this file in protobuf runtime (e.g., you need to use this
name in DescriptorPool::FindFileByName()).
We should document this better but this is working as intended.
Original comment by xiaof...@google.com
on 18 Oct 2014 at 10:21
Why not improve the documentation with this ticket?
Original comment by weegreen...@gmail.com
on 19 Oct 2014 at 3:50
Original issue reported on code.google.com by
weegreen...@gmail.com
on 18 Oct 2014 at 7:44Attachments: