[protobuf] Distributing protobuf library and protos in a plug-in framework

2015-04-27 Thread elodg
Suppose there is a plug-in framework that uses protobuf to pass data around between plug-ins. The plug-ins can be C++ dynamic libraries, where the proto wire crosses the ABI boundary going around binary incompatibilities. Many different predefined protos exist that need to be distributed to plu

Re: [protobuf] Distributing protobuf library and protos in a plug-in framework

2015-04-27 Thread 'Feng Xiao' via Protocol Buffers
On Mon, Apr 27, 2015 at 11:04 AM, elodg wrote: > Suppose there is a plug-in framework that uses protobuf to pass data > around between plug-ins. The plug-ins can be C++ dynamic libraries, where > the proto wire crosses the ABI boundary going around binary > incompatibilities. Many different prede

Re: [protobuf] Distributing protobuf library and protos in a plug-in framework

2015-04-27 Thread elodg
I provide pure virtual interfaces and abstract default implementations in header-only source code specifically to allow for different compilers and compiler settings. It seems to me that I either have to provide pb.cc and the protobuf lib source, or just .protos and let developers download, com