Updates:
        Status: WorkingAsIntended
        Owner: xiaof...@google.com

Comment #1 on issue 674 by xiaof...@google.com: protoc: can't control output directory
https://code.google.com/p/protobuf/issues/detail?id=674

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.

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups "Protocol 
Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to protobuf+unsubscr...@googlegroups.com.
To post to this group, send email to protobuf@googlegroups.com.
Visit this group at http://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.

Reply via email to