Copyright (c) 2013-2018 brinkqiang (brink.qiang@gmail.com)
Linux | Mac | Windows |
---|---|---|
install cmake 3.8+
The customized version of lua-protobuf cmake linux & mac & win is compiled, and the new version can directly replace pb.c and pb.h under src (https://github.com/starwing/lua-protobuf)
pb
win
build.bat
cd bin/relwithdebinfo
lua ../script/test.lua
linux
bash build.sh
cd bin/relwithdebinfo
./lua ../script/test.lua