how to make a protobuf dependent lib avaliable in a non-protobuf enviroment

I have a C++ project depending on protobuf, but there's no guarantee that all users have protobuf installed on there own PC(protobuf is only not the only way of serialization) but they also want to use the project as a lib. In that case, dynamic linking to protobuf while compiling the project is not a choise(the will dynamicly depending on what can I do?
The only way I know of is that you would compile the protobuf library yourself, statically. Then you can statically link it into your project.
thanks, in that way, are the users who will use my project as a lib able to dynamicly linking to it(my project)?
I think that should be possible. Why not try it out with dummy libraries?
Topic archived. No new replies allowed.