premake: Move architecture definitions to workspace scope.
This commit is contained in:
parent
df1c0fb38c
commit
622c6b5dff
@ -66,6 +66,8 @@ workspace "iw4x"
|
|||||||
objdir "%{wks.location}/obj"
|
objdir "%{wks.location}/obj"
|
||||||
targetdir "%{wks.location}/bin/%{cfg.buildcfg}"
|
targetdir "%{wks.location}/bin/%{cfg.buildcfg}"
|
||||||
configurations { "Debug", "DebugStatic", "Release", "ReleaseStatic" }
|
configurations { "Debug", "DebugStatic", "Release", "ReleaseStatic" }
|
||||||
|
architecture "x32"
|
||||||
|
platforms "x86"
|
||||||
|
|
||||||
-- VS 2015 toolset only
|
-- VS 2015 toolset only
|
||||||
toolset "msc-140"
|
toolset "msc-140"
|
||||||
@ -91,8 +93,6 @@ 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 "x32"
|
|
||||||
platforms "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…
x
Reference in New Issue
Block a user