Browse Source

add support for custom xcode actions for bgfx.lua

Since I am working on a custom genie action called "xcode7", this serve my purpose
Ka-ming Chan 10 years ago
parent
commit
0fdc1b323e
1 changed files with 2 additions and 2 deletions
  1. 2 2
      scripts/bgfx.lua

+ 2 - 2
scripts/bgfx.lua

@@ -129,7 +129,7 @@ function bgfxProject(_name, _kind, _defines)
 				path.join(BGFX_DIR, "src/vertexdecl.cpp"),
 			}
 
-			configuration { "xcode4 or osx or ios*" }
+			configuration { "xcode* or osx or ios*" }
 				files {
 					path.join(BGFX_DIR, "src/amalgamated.mm"),
 				}
@@ -144,7 +144,7 @@ function bgfxProject(_name, _kind, _defines)
 			configuration {}
 
 		else
-			configuration { "xcode4 or osx or ios*" }
+			configuration { "xcode* or osx or ios*" }
 				files {
 					path.join(BGFX_DIR, "src/glcontext_eagl.mm"),
 					path.join(BGFX_DIR, "src/glcontext_nsgl.mm"),