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:
parent
eec125b67a
commit
1b4e5362c3
@ -91,7 +91,8 @@ workspace "iw4x"
|
|||||||
language "C++"
|
language "C++"
|
||||||
files { "./src/**.hpp", "./src/**.cpp" }
|
files { "./src/**.hpp", "./src/**.cpp" }
|
||||||
includedirs { "%{prj.location}", "./src" }
|
includedirs { "%{prj.location}", "./src" }
|
||||||
architecture "x86"
|
architecture "x32"
|
||||||
|
platform "x86"
|
||||||
|
|
||||||
-- Pre-compiled header
|
-- Pre-compiled header
|
||||||
pchheader "STDInclude.hpp" -- must be exactly same as used in #include directives
|
pchheader "STDInclude.hpp" -- must be exactly same as used in #include directives
|
||||||
|
Loading…
Reference in New Issue
Block a user