1 2 3 4 5 6 7 8 9
#include <google/protobuf/compiler/plugin.h> #include "upbc/generator.h" int main(int argc, char** argv) { return google::protobuf::compiler::PluginMain(argc, argv, upbc::GetGenerator().get()); }