mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Contrib: Added .bat file with commands to generate protobuf sources using the plugin
This commit is contained in:
6
contrib/protoc-bnet/generate_sources.bat
Normal file
6
contrib/protoc-bnet/generate_sources.bat
Normal file
@@ -0,0 +1,6 @@
|
||||
FOR %%P IN (proto\global_extensions\*.proto) DO (
|
||||
protoc.exe --plugin=protoc-gen-bnet=protoc-gen-bnet.exe --bnet_out=dllexport_decl=TC_SHARED_API:buildproto -Iproto %%P
|
||||
)
|
||||
FOR %%P IN (proto\*.proto) DO (
|
||||
protoc.exe --plugin=protoc-gen-bnet=protoc-gen-bnet.exe --bnet_out=dllexport_decl=TC_SHARED_API:buildproto -Iproto %%P
|
||||
)
|
||||
Reference in New Issue
Block a user