From 2c14dc15e6f19e1b516cbbd2792f1575e5d9c70e Mon Sep 17 00:00:00 2001 From: Federico Cecchetto Date: Tue, 29 Mar 2022 19:57:49 +0200 Subject: [PATCH] Remove protobuf --- .gitmodules | 3 -- deps/premake/protobuf.lua | 60 -------------------------------------- deps/protobuf | 1 - src/client/std_include.hpp | 2 -- 4 files changed, 66 deletions(-) delete mode 100644 deps/premake/protobuf.lua delete mode 160000 deps/protobuf diff --git a/.gitmodules b/.gitmodules index a8f01577..3fa56e25 100644 --- a/.gitmodules +++ b/.gitmodules @@ -22,9 +22,6 @@ [submodule "deps/asmjit"] path = deps/asmjit url = https://github.com/asmjit/asmjit.git -[submodule "deps/protobuf"] - path = deps/protobuf - url = https://github.com/google/protobuf.git [submodule "deps/udis86"] path = deps/udis86 url = https://github.com/vmt/udis86.git diff --git a/deps/premake/protobuf.lua b/deps/premake/protobuf.lua deleted file mode 100644 index 1c58972c..00000000 --- a/deps/premake/protobuf.lua +++ /dev/null @@ -1,60 +0,0 @@ -protobuf = { - source = path.join(dependencies.basePath, "protobuf"), -} - -function protobuf.import() - links { - "protobuf" - } - - protobuf.includes() -end - -function protobuf.includes() - includedirs { - path.join(protobuf.source, "src"), - } -end - -function protobuf.project() - project "protobuf" - language "C++" - - protobuf.includes() - - files { - path.join(protobuf.source, "src/**.cc"), - "./src/**.proto", - } - - removefiles { - path.join(protobuf.source, "src/**/*test.cc"), - path.join(protobuf.source, "src/google/protobuf/*test*.cc"), - - path.join(protobuf.source, "src/google/protobuf/testing/**.cc"), - path.join(protobuf.source, "src/google/protobuf/compiler/**.cc"), - - path.join(protobuf.source, "src/google/protobuf/arena_nc.cc"), - path.join(protobuf.source, "src/google/protobuf/util/internal/error_listener.cc"), - path.join(protobuf.source, "**/*_gcc.cc"), - } - - rules { - "ProtobufCompiler" - } - - defines { - "_SCL_SECURE_NO_WARNINGS", - "_SILENCE_ALL_CXX17_DEPRECATION_WARNINGS", - "_SILENCE_ALL_CXX20_DEPRECATION_WARNINGS", - } - - linkoptions { - "-IGNORE:4221" - } - - warnings "Off" - kind "StaticLib" -end - -table.insert(dependencies, protobuf) diff --git a/deps/protobuf b/deps/protobuf deleted file mode 160000 index a69354f3..00000000 --- a/deps/protobuf +++ /dev/null @@ -1 +0,0 @@ -Subproject commit a69354f31b253856689ae765a9ea3217ec001873 diff --git a/src/client/std_include.hpp b/src/client/std_include.hpp index b426086a..ea9613ee 100644 --- a/src/client/std_include.hpp +++ b/src/client/std_include.hpp @@ -86,8 +86,6 @@ #include #include -#include - #include #include #include