Преглед изворни кода

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

Branimir Karadžić пре 11 година
родитељ
комит
be1a8f463f
1 измењених фајлова са 2 додато и 3 уклоњено
  1. 2 3
      scripts/toolchain.lua

+ 2 - 3
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 {