SkillAgentSearch skills...

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/Pb
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

pb

Copyright (c) 2013-2018 brinkqiang (brink.qiang@gmail.com)

pb License blog Open Source Love GitHub stars GitHub forks

Build status

| Linux | Mac | Windows | | :---------------: | :----------------: | :-----------------: | | lin-badge | mac-badge | win-badge |

env

install cmake 3.8+

cmake

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

Contacts

Thanks

View on GitHub
GitHub Stars8
CategoryDevelopment
Updated11mo ago
Forks3

Languages

C

Security Score

77/100

Audited on Apr 19, 2025

No findings