xcode: added ios/osx target sdk selection (#40 by @attilaz).

This commit is contained in:
Branimir Karadžić
2015-01-25 11:45:26 -08:00
parent db371100db
commit be1a8f463f

View File

@@ -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 {