From 15c94d69a0b551e0f5a978bc2da83bc058b35f64 Mon Sep 17 00:00:00 2001 From: Andrew Willmott Date: Mon, 13 May 2019 17:09:59 +0100 Subject: [PATCH] Generalise genie xcode4 cases to apply to all xcode project versions. --- scripts/genie.lua | 6 +++--- scripts/texturev.lua | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/genie.lua b/scripts/genie.lua index 90d4d6703..d75b476f7 100644 --- a/scripts/genie.lua +++ b/scripts/genie.lua @@ -75,7 +75,7 @@ solution "bgfx" "Release", } - if _ACTION == "xcode4" then + if _ACTION:match "xcode*" then platforms { "Universal", } @@ -343,13 +343,13 @@ function exampleProjectDefaults() "-weak_framework Metal", } - configuration { "xcode4", "ios" } + configuration { "xcode*", "ios" } kind "WindowedApp" files { path.join(BGFX_DIR, "examples/runtime/iOS-Info.plist"), } - configuration { "xcode4", "tvos" } + configuration { "xcode*", "tvos" } kind "WindowedApp" files { path.join(BGFX_DIR, "examples/runtime/tvOS-Info.plist"), diff --git a/scripts/texturev.lua b/scripts/texturev.lua index 2bf9b99cd..f6e93d8ba 100644 --- a/scripts/texturev.lua +++ b/scripts/texturev.lua @@ -157,7 +157,7 @@ project ("texturev") "-framework QuartzCore", } - configuration { "xcode4", "ios" } + configuration { "xcode*", "ios" } kind "WindowedApp" configuration { "qnx*" }