feat: support c++ targets (#60)

* feat: support c++ targets

* fix: compile all protos under ./proto

* chore: Apply suggestions from code review

---------

Co-authored-by: Yingwen <realevenyag@gmail.com>
This commit is contained in:
Lei, HUANG
2023-07-11 19:33:39 +08:00
committed by GitHub
parent 53d0a7c5b0
commit 7de3f31fd0
46 changed files with 149701 additions and 7 deletions
+8
View File
@@ -0,0 +1,8 @@
#! /usr/bin/env bash
set -e
PROTO_ROOT=./proto
CPP_OUTPUT=./c++
protoc --proto_path=proto/ --cpp_out=${CPP_OUTPUT} $(find ./proto/ -type f -iname "*.proto")
+1 -6
View File
@@ -3,9 +3,4 @@
PROTO_ROOT=./proto
JAVA_OUTPUT=./java/src/main/java/
protoc -I=${PROTO_ROOT} --java_out=${JAVA_OUTPUT} \
${PROTO_ROOT}/greptime/v1/common.proto \
${PROTO_ROOT}/greptime/v1/prom.proto \
${PROTO_ROOT}/greptime/v1/column.proto \
${PROTO_ROOT}/greptime/v1/ddl.proto \
${PROTO_ROOT}/greptime/v1/database.proto
protoc -I=${PROTO_ROOT} --java_out=${JAVA_OUTPUT} $(find ./proto/ -type f -iname "*.proto")