summaryrefslogtreecommitdiff
path: root/scripts/premake4.lua
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/premake4.lua')
-rw-r--r--scripts/premake4.lua7
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/premake4.lua b/scripts/premake4.lua
index 3a11567..d525031 100644
--- a/scripts/premake4.lua
+++ b/scripts/premake4.lua
@@ -1,3 +1,6 @@
+-- Reset RNG seed to get consistent results across runs (i.e. XCode)
+math.randomseed(12345)
+
local action = premake.action.current()
if string.startswith(_ACTION, "vs") then
@@ -49,6 +52,10 @@ if string.startswith(_ACTION, "vs") then
configuration "ReleaseStatic" targetsuffix "_s"
configuration "Debug" targetsuffix "_d"
else
+ if _ACTION == "xcode3" then
+ platforms "universal"
+ end
+
configurations { "Debug", "Release" }
configuration "Debug" targetsuffix "_d"