From f54dc70d034bd5e89bee6347843a7a7d31ae6ca2 Mon Sep 17 00:00:00 2001 From: Gliniak Date: Fri, 22 Mar 2024 11:53:03 +0100 Subject: [PATCH] [3PP] Added pugixml library --- .gitmodules | 3 +++ premake5.lua | 1 + src/xenia/kernel/premake5.lua | 1 + third_party/pugixml | 1 + third_party/pugixml.lua | 10 ++++++++++ 5 files changed, 16 insertions(+) create mode 160000 third_party/pugixml create mode 100644 third_party/pugixml.lua diff --git a/.gitmodules b/.gitmodules index 69218b8fa..2cd0d30ba 100644 --- a/.gitmodules +++ b/.gitmodules @@ -100,3 +100,6 @@ [submodule "third_party/zlib"] path = third_party/zlib url = https://github.com/madler/zlib.git +[submodule "third_party/pugixml"] + path = third_party/pugixml + url = https://github.com/zeux/pugixml.git diff --git a/premake5.lua b/premake5.lua index 3528b634c..437b13fe5 100644 --- a/premake5.lua +++ b/premake5.lua @@ -263,6 +263,7 @@ workspace("xenia") include("third_party/zarchive.lua") include("third_party/zstd.lua") include("third_party/zlib.lua") + include("third_party/pugixml.lua") if not os.istarget("android") then -- SDL2 requires sdl2-config, and as of November 2020 isn't high-quality on diff --git a/src/xenia/kernel/premake5.lua b/src/xenia/kernel/premake5.lua index 3d142c47c..bd00330bc 100644 --- a/src/xenia/kernel/premake5.lua +++ b/src/xenia/kernel/premake5.lua @@ -10,6 +10,7 @@ project("xenia-kernel") "aes_128", "fmt", "zlib", + "pugixml", "xenia-apu", "xenia-base", "xenia-cpu", diff --git a/third_party/pugixml b/third_party/pugixml new file mode 160000 index 000000000..b2b466403 --- /dev/null +++ b/third_party/pugixml @@ -0,0 +1 @@ +Subproject commit b2b466403084667c90a0f0cc4e960405cfc8117a diff --git a/third_party/pugixml.lua b/third_party/pugixml.lua new file mode 100644 index 000000000..b2ae8f14b --- /dev/null +++ b/third_party/pugixml.lua @@ -0,0 +1,10 @@ +group("third_party") +project("pugixml") + uuid("d1089e5e-46ae-48c9-bee6-d38c674c8f61") + kind("StaticLib") + language("C++") + files({ + "pugixml/src/pugiconfig.hpp", + "pugixml/src/pugixml.cpp", + "pugixml/src/pugixml.hpp", + }) \ No newline at end of file