Protobuf is now module cmake loaded on linux, and generates files on build

This commit is contained in:
Xackery
2018-03-11 22:27:37 -07:00
parent f990292660
commit 1a71237dc2
14 changed files with 2024 additions and 24539 deletions
+5 -4
View File
@@ -1,7 +1,8 @@
@echo off
mkdir go\eqproto python\proto java\eqproto csharp\proto
del /q ..\common\proto\*
del /q go\eqproto\*
del /q python\proto\*pb2*
del /q java\eqproto\*.java
del /q csharp\proto\*.cs
protoc --cpp_out=../common/proto --go_out=go/eqproto --python_out=python/proto --csharp_out=csharp/proto --java_out=java message.proto
del /q python\proto\*
del /q java\eqproto\*
del /q csharp\proto\*
..\dependencies\protobuf\bin\protoc --go_out=go/eqproto --python_out=python/proto --csharp_out=csharp/proto --java_out=java --proto_path=../common message.proto
+2 -2
View File
@@ -1,5 +1,5 @@
#!/bin/bash
set -e
echo "Cleaning up existing .pb* files"
echo "Cleaning up existing .pb files"
rm -rf ../common/proto/* go/eqproto/* csharp/proto/*.cs java/eqproto/*.java python/proto/*pb2*
protoc --cpp_out=../common/proto --go_out=go/eqproto --python_out=python/proto --csharp_out=csharp/proto --java_out=java message.proto
protoc --go_out=go/eqproto --python_out=python/proto --csharp_out=csharp/proto --java_out=java -I ../common/ message.proto