mirror of
https://github.com/EQEmu/Server.git
synced 2026-09-04 06:16:38 +00:00
Protobuf is now module cmake loaded on linux, and generates files on build
This commit is contained in:
+5
-4
@@ -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
@@ -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
|
||||
Reference in New Issue
Block a user