# protoc-pod_plugin **Repository Path**: wuguinianjing/protoc-pod_plugin ## Basic Information - **Project Name**: protoc-pod_plugin - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-04-27 - **Last Updated**: 2024-04-27 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # pod_plugin Add-ons for Protocol Buffers, it change proto message to c struct ## Clone the repository (including submodules) ```sh $ git clone https://github.com/snow1313113/pod_plugin.git $ cd pod_plugin $ git submodule update --init ``` ## Build from source ```sh $ mkdir build $ cd build $ cmake ../ $ make ``` ## Use the plugin protoc --proto_path=*your path* --pod_out=*output path* --plugin=protoc-gen-pod=pod_plugin *proto file* there is some options that can specify c++ standard of gen code use *--pod_opt=c++98* or *--pod_opt=c++11* ## Build gtest case ```sh $ cd pod_plugin/test $ mkdir build $ cd build $ cmake ../ $ make ```