aboutsummaryrefslogtreecommitdiff
path: root/contrib/protoc-bnet
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2016-03-26 17:39:39 +0100
committerShauren <shauren.trinity@gmail.com>2016-03-26 17:39:39 +0100
commitb97d990deee8f5d1751e60a08cab1f3ea3babe5b (patch)
tree6f74161d22834387e4e18aeb5d61aecf070fe3e3 /contrib/protoc-bnet
parente1a68fa34d19a55db842abbf97e7b6e3bff4e5cd (diff)
Contrib: Added .bat file with commands to generate protobuf sources using the plugin
Diffstat (limited to 'contrib/protoc-bnet')
-rw-r--r--contrib/protoc-bnet/generate_sources.bat6
1 files changed, 6 insertions, 0 deletions
diff --git a/contrib/protoc-bnet/generate_sources.bat b/contrib/protoc-bnet/generate_sources.bat
new file mode 100644
index 00000000000..60cd028a402
--- /dev/null
+++ b/contrib/protoc-bnet/generate_sources.bat
@@ -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
+)