[转] Windows上编译protobuf的过程

原文:https://www.cnblogs.com/cnxkey/articles/10152646.html

protobuf 是google的一个开源项目。
其源代码在github上(https://github.com/protocolbuffers/protobuf)可以下载到,并且源码都采用cmake来构建。
所以我们可以把源码下载到本地,然后了利用cmake构建本地工程,然后编译。
主CMakeLists.txt在源码目录下的cmake目录中。

 编译生成,一般都会比较顺利地!

原文地址:https://www.cnblogs.com/MakeView660/p/13025842.html