{build.bat}
for /f %%i in ('dir /B *.proto') do (
protoc.exe --lua_out=. --plugin=protoc-gen-lua="d:developprotoc-gen-luapluginprotoc-gen-lua.bat" %%i )
====================================================
{pb.def}
LIBRARY pb.dll
DESCRIPTION "ProtocGenLua"
EXPORTS
luaopen_pb
=====================================================
环境变量设置
LUA_PATH
;D:Developprotoc-gen-luaprotobuf?.lua;
LUA_CPATH
;D:DevelopLuaJITin?.dll;D:Developprotoc-gen-luaprotobuf?.dll;