开发者

cmakeable version of protocol buffers

开发者 https://www.devze.com 2023-01-02 13:54 出处:网络
StackOverflow community! I want to embed protocol buffers into some project that supports cmake. As I undrestood, google doesn\'t provide this

StackOverflow community!

I want to embed protocol buffers into some project that supports cmake. As I undrestood, google doesn't provide this

Any suggestions? Who tried to create cmakeable protocol buffers library? Are there lots of not cross-platform places at the source or there is no at all.

Where can I take it if it exists? What else cmakeable is there instead of protocol buffers?

Pls, don't ask me why I don't install protocol buffers, and just use compiled libraries, I need to e开发者_开发百科mbed it inside the project. If it is really bad idea, then, please, explain why.


I created a set of CMakeLists.txt for protobufs for embedding into our build systems, and offered to contribute these to protobufs, but the people at Google weren't interested.

If you'd like, I can provide them "as-is". They work for 2.2.0, but you will probably have to do some hacking on your own to tweak them for your specific build system.

0

精彩评论

暂无评论...
验证码 换一张
取 消