2 :: This file is used to invoke nanopb_generator.py as a plugin
3 :: to protoc on Windows.
5 :: protoc --plugin=protoc-gen-nanopb=..../protoc-gen-nanopb.bat --nanopb_out=dir foo.proto
7 :: Note that if you use the binary package of nanopb, the protoc
8 :: path is already set up properly and there is no need to give
9 :: --plugin= on the command line.
12 python "%mydir%\nanopb_generator.py" --protoc-plugin