summaryrefslogtreecommitdiff
path: root/scripts/premake4.lua
diff options
context:
space:
mode:
authorarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2010-06-10 17:09:14 +0000
committerarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2010-06-10 17:09:14 +0000
commitc74fe071ddd114898a274ade279288dcfaf26e93 (patch)
treecfda25b63e1792d3ce8fb45ee86dd648ea4e9726 /scripts/premake4.lua
parentface963aab2642ea2611d646c053627bafb0d330 (diff)
scripts: XCode fixes
git-svn-id: http://pugixml.googlecode.com/svn/trunk@508 99668b35-9821-0410-8761-19e4c4f06640
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"