Generalise genie xcode4 cases to apply to all xcode project versions.

This commit is contained in:
Andrew Willmott 2019-05-13 17:09:59 +01:00
parent 191eae89f9
commit 15c94d69a0
2 changed files with 4 additions and 4 deletions

View File

@ -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"),

View File

@ -157,7 +157,7 @@ project ("texturev")
"-framework QuartzCore",
}
configuration { "xcode4", "ios" }
configuration { "xcode*", "ios" }
kind "WindowedApp"
configuration { "qnx*" }