From e1fa528659774dcbd088e16e53b4090500b9da82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branimir=20Karad=C5=BEi=C4=87?= Date: Wed, 27 Jun 2018 14:31:29 -0700 Subject: [PATCH] Fixed Xcode. --- scripts/toolchain.lua | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/scripts/toolchain.lua b/scripts/toolchain.lua index 5159cad..779a797 100644 --- a/scripts/toolchain.lua +++ b/scripts/toolchain.lua @@ -464,7 +464,9 @@ function toolchain(_buildDir, _libDir) end - elseif _ACTION == "xcode4" then + elseif _ACTION == "xcode4" + or _ACTION == "xcode8" + or _ACTION == "xcode9" then local action = premake.action.current() local str_or = function(str, def) return #str > 0 and str or def @@ -1072,7 +1074,7 @@ function toolchain(_buildDir, _libDir) } includedirs { path.join(bxDir, "include/compat/ios") } - configuration { "xcode4", "ios*" } + configuration { "xcode*", "ios*" } targetdir (path.join(_buildDir, "ios-arm/bin")) objdir (path.join(_buildDir, "ios-arm/obj")) @@ -1158,7 +1160,7 @@ function toolchain(_buildDir, _libDir) } includedirs { path.join(bxDir, "include/compat/ios") } - configuration { "xcode4", "tvos*" } + configuration { "xcode*", "tvos*" } targetdir (path.join(_buildDir, "tvos-arm64/bin")) objdir (path.join(_buildDir, "tvos-arm64/obj"))