mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
MacOS: Embedded window support.
This commit is contained in:
parent
1cf573f44d
commit
00e1fdec2c
37 changed files with 3670 additions and 384 deletions
|
@ -231,6 +231,8 @@ def configure(env: "SConsEnvironment"):
|
|||
"Security",
|
||||
"-framework",
|
||||
"UniformTypeIdentifiers",
|
||||
"-framework",
|
||||
"IOSurface",
|
||||
]
|
||||
)
|
||||
env.Append(LIBS=["pthread", "z"])
|
||||
|
@ -245,7 +247,6 @@ def configure(env: "SConsEnvironment"):
|
|||
env.Append(LINKFLAGS=["-lANGLE.macos." + env["arch"]])
|
||||
env.Append(LINKFLAGS=["-lEGL.macos." + env["arch"]])
|
||||
env.Append(LINKFLAGS=["-lGLES.macos." + env["arch"]])
|
||||
extra_frameworks.add("IOSurface")
|
||||
env.Prepend(CPPEXTPATH=["#thirdparty/angle/include"])
|
||||
|
||||
env.Append(LINKFLAGS=["-rpath", "@executable_path/../Frameworks", "-rpath", "@executable_path"])
|
||||
|
@ -264,7 +265,6 @@ def configure(env: "SConsEnvironment"):
|
|||
if env["vulkan"]:
|
||||
env.AppendUnique(CPPDEFINES=["VULKAN_ENABLED", "RD_ENABLED"])
|
||||
extra_frameworks.add("Metal")
|
||||
extra_frameworks.add("IOSurface")
|
||||
if not env["use_volk"]:
|
||||
env.Append(LINKFLAGS=["-lMoltenVK"])
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue