From e7210eaa84c1b7f7df8137170965b6e3070c6b17 Mon Sep 17 00:00:00 2001 From: Ther <1329438302@qq.com> Date: Sun, 31 Oct 2021 14:14:41 +0800 Subject: [PATCH 1/2] chore: add submodule(protobuf) --- .gitmodules | 3 +++ CAPI/protobuf | 1 + dependency/proto/generate_cpp.cmd | 7 +++++++ 3 files changed, 11 insertions(+) create mode 100644 .gitmodules create mode 160000 CAPI/protobuf create mode 100644 dependency/proto/generate_cpp.cmd diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 00000000..d3139414 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "CAPI/protobuf"] + path = CAPI/protobuf + url = git@github.com:protocolbuffers/protobuf.git diff --git a/CAPI/protobuf b/CAPI/protobuf new file mode 160000 index 00000000..7c40b2df --- /dev/null +++ b/CAPI/protobuf @@ -0,0 +1 @@ +Subproject commit 7c40b2df1fdf6f414c1c18c789715a9c948a0725 diff --git a/dependency/proto/generate_cpp.cmd b/dependency/proto/generate_cpp.cmd new file mode 100644 index 00000000..b4c74705 --- /dev/null +++ b/dependency/proto/generate_cpp.cmd @@ -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 From 323335c2d407e43698003e37ba077e79397ba35a Mon Sep 17 00:00:00 2001 From: Ther <1329438302@qq.com> Date: Sun, 31 Oct 2021 14:52:30 +0800 Subject: [PATCH 2/2] chore: add submodule(tclap) --- .gitmodules | 3 +++ CAPI/tclap | 1 + 2 files changed, 4 insertions(+) create mode 160000 CAPI/tclap diff --git a/.gitmodules b/.gitmodules index d3139414..40232ba4 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,6 @@ [submodule "CAPI/protobuf"] path = CAPI/protobuf url = git@github.com:protocolbuffers/protobuf.git +[submodule "CAPI/tclap"] + path = CAPI/tclap + url = git@github.com:mirror/tclap.git diff --git a/CAPI/tclap b/CAPI/tclap new file mode 160000 index 00000000..8b35dd1c --- /dev/null +++ b/CAPI/tclap @@ -0,0 +1 @@ +Subproject commit 8b35dd1c23922231ec2dcb95edea0285189de039