Third-party: add Metal dependency submodules

This commit is contained in:
Will Martin
2026-02-08 17:38:56 +09:00
committed by Herman S.
parent a069d9446b
commit b6bd8f306b
6 changed files with 61 additions and 0 deletions
+6
View File
@@ -111,6 +111,12 @@
[submodule "third_party/DirectX-Headers"]
path = third_party/DirectX-Headers
url = https://github.com/microsoft/DirectX-Headers.git
[submodule "third_party/metal-cpp"]
path = third_party/metal-cpp
url = https://github.com/wmarti/metal-cpp.git
[submodule "third_party/metal-shader-converter"]
path = third_party/metal-shader-converter
url = https://github.com/wmarti/metal-shader-converter.git
[submodule "third_party/asio"]
path = third_party/asio
url = https://github.com/chriskohlhoff/asio.git
+2
View File
@@ -434,6 +434,8 @@ workspace("xenia")
include("third_party/fmt.lua")
include("third_party/glslang-spirv.lua")
include("third_party/imgui.lua")
include("third_party/metal-shader-converter.lua")
include("third_party/metal-cpp.lua")
include("third_party/miniaudio.lua")
include("third_party/mspack.lua")
include("third_party/snappy.lua")
Vendored Submodule
+1
Submodule third_party/metal-cpp added at 13a6701367
+21
View File
@@ -0,0 +1,21 @@
if not os.istarget("macosx") then
return
end
group("third_party")
project("metal-cpp")
uuid("11c84c8d-bfa2-4b14-b832-4e85e9ca8e3b")
kind("None") -- Header-only library
language("C++")
defines({
"METAL_CPP_AVAILABLE=1",
})
includedirs({
"metal-cpp",
})
files({
"metal-cpp/Foundation/Foundation.hpp",
"metal-cpp/Metal/Metal.hpp",
"metal-cpp/MetalFX/MetalFX.hpp",
"metal-cpp/QuartzCore/QuartzCore.hpp",
})
+30
View File
@@ -0,0 +1,30 @@
if not os.istarget("macosx") then
return
end
group("third_party")
project("metal-shader-converter")
uuid("b1b2c3d4-e5f6-7890-abcd-ef1234567890")
kind("StaticLib")
language("C++")
defines({
"_LIB",
})
includedirs({
"metal-shader-converter/include",
})
files({
"metal-shader-converter/include/metal_irconverter.h",
"metal-shader-converter/include/metal_irconverter_runtime.h",
})
-- Link against the Metal Shader Converter dynamic library
libdirs({
"metal-shader-converter/lib",
})
links({
"metalirconverter",
})
links({
"Metal.framework",
"MetalKit.framework",
})