Browse Source

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

Andrew Willmott 6 years ago
parent
commit
15c94d69a0
2 changed files with 4 additions and 4 deletions
  1. 3 3
      scripts/genie.lua
  2. 1 1
      scripts/texturev.lua

+ 3 - 3
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"),

+ 1 - 1
scripts/texturev.lua

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