summaryrefslogtreecommitdiffstatshomepage
path: root/scripts/genie.lua
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2016-02-21 19:48:16 +0100
committer Miodrag Milanovic <mmicko@gmail.com>2016-02-21 19:48:16 +0100
commit412814f80da3552614d897319225035ccc96ce1c (patch)
treedbe51ec36de6b4e5a9c213caa44a718139624035 /scripts/genie.lua
parent859cec460360b2f6c02b6e6807105328dfedebcb (diff)
changes towards compiling with XCode (nw)
Diffstat (limited to 'scripts/genie.lua')
-rw-r--r--scripts/genie.lua8
1 files changed, 5 insertions, 3 deletions
diff --git a/scripts/genie.lua b/scripts/genie.lua
index 984196e2af7..e327b988abd 100644
--- a/scripts/genie.lua
+++ b/scripts/genie.lua
@@ -54,7 +54,9 @@ function layoutbuildtask(_folder, _name)
end
function precompiledheaders()
- pchheader("emu.h")
+ configuration { "not xcode4" }
+ pchheader("emu.h")
+ configuration { }
end
function addprojectflags()
@@ -672,7 +674,7 @@ end
"LUA_COMPAT_5_2",
}
- if _ACTION == "gmake" then
+ if _ACTION == "gmake" or _ACTION == "xcode4" then
--we compile C-only to C99 standard with GNU extensions
@@ -1067,7 +1069,7 @@ configuration { "steamlink" }
"EGL_API_FB",
}
-configuration { "osx*" }
+configuration { "osx* or xcode4" }
links {
"pthread",
}