Pb
lua-protobuf cmake定制版本 linux & mac & win编译通过, 有新版本直接替换src下面的pb.c, pb.h. 支持lua5.1/5.3/5.4. 修改CMakeLists.txt里面LUA_MOUDLE 默认为5.4
Install / Use
/learn @brinkqiang/PbREADME
pb
Copyright (c) 2013-2018 brinkqiang (brink.qiang@gmail.com)
Build status
| Linux | Mac | Windows |
| :---------------: | :----------------: | :-----------------: |
| |
|
|
env
install cmake 3.8+
Intro
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

