Hi all, I am trying to figure out how to configure things to compile two linked protobuf files for C++. I have the files in a Java-like directory structure
/org/name/package1/schema/file1.proto /org/name/package1/schema/core/file2.proto I am using a maven build to generate Java and C++. The Java build works perfectly. However, the messages in file1 that refer to messages in file2 have to include the full path of file2, and the generated C++ file1 has this #include "org/name/package1/schema/core/file2.pb.h" This kind of path structure is fine for Java but in C++ the generate include path is incorrect. I am wondering if anybody can point me to an example of a protobuf project that uses multiple proto files in different directories? How does protoc need to be configured to compile this? How does the maven plugin need to be configured? thanks! Peter -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/protobuf. For more options, visit https://groups.google.com/d/optout.
