Browse Source

Merge pull request #75 from naleksiev/master

Fixed build output directory for iOS and tvOS
Branimir Karadžić 10 năm trước cách đây
mục cha
commit
6a66432486
1 tập tin đã thay đổi với 8 bổ sung0 xóa
  1. 8 0
      scripts/toolchain.lua

+ 8 - 0
scripts/toolchain.lua

@@ -905,6 +905,10 @@ function toolchain(_buildDir, _libDir)
 		}
 		includedirs { path.join(bxDir, "include/compat/ios") }
 
+	configuration { "xcode4", "ios*" }
+		targetdir (path.join(_buildDir, "ios-arm/bin"))
+		objdir (path.join(_buildDir, "ios-arm/obj"))
+
 	configuration { "ios-arm" }
 		targetdir (path.join(_buildDir, "ios-arm/bin"))
 		objdir (path.join(_buildDir, "ios-arm/obj"))
@@ -952,6 +956,10 @@ function toolchain(_buildDir, _libDir)
 		}
 		includedirs { path.join(bxDir, "include/compat/ios") }
 
+	configuration { "xcode4", "tvos*" }
+		targetdir (path.join(_buildDir, "tvos-arm64/bin"))
+		objdir (path.join(_buildDir, "tvos-arm64/obj"))
+
 	configuration { "tvos-arm64" }
 		targetdir (path.join(_buildDir, "tvos-arm64/bin"))
 		objdir (path.join(_buildDir, "tvos-arm64/obj"))