From be1a8f463f5532d13cd9bb17cc93be00edd39312 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branimir=20Karad=C5=BEi=C4=87?= Date: Sun, 25 Jan 2015 11:45:26 -0800 Subject: [PATCH] xcode: added ios/osx target sdk selection (#40 by @attilaz). --- scripts/toolchain.lua | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/scripts/toolchain.lua b/scripts/toolchain.lua index 9faaaaf..04a594f 100755 --- a/scripts/toolchain.lua +++ b/scripts/toolchain.lua @@ -294,14 +294,13 @@ function toolchain(_buildDir, _libDir) elseif _ACTION == "xcode4" then if "osx" == _OPTIONS["xcode"] then + premake.xcode.toolset = "macosx" location (_buildDir .. "projects/" .. _ACTION .. "-osx") end - if "ios" == _OPTIONS["xcode"] then + premake.xcode.toolset = "iphoneos" location (_buildDir .. "projects/" .. _ACTION .. "-ios") end - - end flags {