forked from 0ad/0ad
Enable multi-processor compilation on Windows with premake5. Patch by Stan, fixes #5035.
Differential Revision: https://code.wildfiregames.com/D1335 This was SVN commit r21389.
This commit is contained in:
parent
2e8ba0ca2c
commit
387200f745
@ -186,6 +186,8 @@ function project_set_build_flags()
|
|||||||
-- various platform-specific build flags
|
-- various platform-specific build flags
|
||||||
if os.istarget("windows") then
|
if os.istarget("windows") then
|
||||||
|
|
||||||
|
flags { "MultiProcessorCompile" }
|
||||||
|
|
||||||
-- use native wchar_t type (not typedef to unsigned short)
|
-- use native wchar_t type (not typedef to unsigned short)
|
||||||
nativewchar "on"
|
nativewchar "on"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user