https://gitee.com/sogou/srpc.git
切换到0.9.7tag版本,有submodule,需要
git submodule init
git submodule update
依赖protobuf和snappy,find_program,find_package修改如下
find_program(PROTOC “protoc” PATHS D:\Opensource\protobufsource\build\cmake\Debug) //查找exe
find_package(Snappy PATHS D:\Opensource\srpc\third_party\snappy\cmake)
依赖workflow
https://gitee.com/sogou/workflow.git
openssl static版本编译错误,需要set(OPENSSL_USE_STATIC_LIBS,TRUE)
workflow需要切换到windows分支
(std::numeric_limits::max)()
使用srpc_generator编译proto文件,prot