summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/bgfx/scripts/genie.lua
diff options
context:
space:
mode:
Diffstat (limited to '3rdparty/bgfx/scripts/genie.lua')
-rw-r--r--3rdparty/bgfx/scripts/genie.lua17
1 files changed, 13 insertions, 4 deletions
diff --git a/3rdparty/bgfx/scripts/genie.lua b/3rdparty/bgfx/scripts/genie.lua
index 90beb31a456..ce3e8d8e6d2 100644
--- a/3rdparty/bgfx/scripts/genie.lua
+++ b/3rdparty/bgfx/scripts/genie.lua
@@ -305,16 +305,19 @@ function exampleProject(_name)
}
configuration { "osx" }
- links {
- "Cocoa.framework",
- "OpenGL.framework",
+ linkoptions {
+ "-framework Cocoa",
+ "-framework Metal",
+ "-framework QuartzCore",
+ "-framework OpenGL",
}
- configuration { "ios*" }
+ configuration { "ios* or tvos*" }
kind "ConsoleApp"
linkoptions {
"-framework CoreFoundation",
"-framework Foundation",
+ "-framework Metal",
"-framework OpenGLES",
"-framework UIKit",
"-framework QuartzCore",
@@ -326,6 +329,12 @@ function exampleProject(_name)
path.join(BGFX_DIR, "examples/runtime/iOS-Info.plist"),
}
+ configuration { "xcode4", "tvos" }
+ kind "WindowedApp"
+ files {
+ path.join(BGFX_DIR, "examples/runtime/tvOS-Info.plist"),
+ }
+
configuration { "qnx*" }
targetextension ""
links {