mirror of
https://github.com/izzy2lost/xenia-edge.git
synced 2026-07-06 00:20:26 -07:00
Third-party: add Metal dependency submodules
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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")
|
||||
|
||||
+1
Submodule third_party/metal-cpp added at 13a6701367
Vendored
+21
@@ -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",
|
||||
})
|
||||
+1
Submodule third_party/metal-shader-converter added at eb320d8a6d
+30
@@ -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",
|
||||
})
|
||||
Reference in New Issue
Block a user