Skip to content
This repository has been archived by the owner on Apr 17, 2024. It is now read-only.

chore: add submodule(protobuf) #67

Merged
merged 2 commits into from
Oct 31, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[submodule "CAPI/protobuf"]
path = CAPI/protobuf
url = [email protected]:protocolbuffers/protobuf.git
[submodule "CAPI/tclap"]
path = CAPI/tclap
url = [email protected]:mirror/tclap.git
1 change: 1 addition & 0 deletions CAPI/protobuf
Submodule protobuf added at 7c40b2
1 change: 1 addition & 0 deletions CAPI/tclap
Submodule tclap added at 8b35dd
7 changes: 7 additions & 0 deletions dependency/proto/generate_cpp.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
protoc --cpp_out=. Message2Clients.proto
protoc --cpp_out=. Message2Server.proto
protoc --cpp_out=. MessageType.proto
copy .\*.h ..\..\CAPI\CAPI\src\proto\*.h
copy .\*.cc ..\..\CAPI\CAPI\src\proto\*.cc
del *.h
del *.cc