premake5: Fix architecture definition and added platform definition.

This is necessary if we want to support Mac OS X (xcode4) later as the generator ignores the architecture definition and only enforces 32-bit builds if the platform is set to either "Universal32" or "x86" despite the fact that premake5 only defines "platform" as a custom labeling method for Visual Studio.
This commit is contained in:
/dev/urandom 2016-01-19 17:49:16 +01:00
parent eec125b67a
commit 1b4e5362c3
No known key found for this signature in database
GPG Key ID: 41322B973E0F295E

View File

@ -91,7 +91,8 @@ workspace "iw4x"
language "C++"
files { "./src/**.hpp", "./src/**.cpp" }
includedirs { "%{prj.location}", "./src" }
architecture "x86"
architecture "x32"
platform "x86"
-- Pre-compiled header
pchheader "STDInclude.hpp" -- must be exactly same as used in #include directives