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:
Nicolas Auvray 2018-02-26 21:49:49 +00:00
parent 2e8ba0ca2c
commit 387200f745

View File

@ -186,6 +186,8 @@ function project_set_build_flags()
-- various platform-specific build flags
if os.istarget("windows") then
flags { "MultiProcessorCompile" }
-- use native wchar_t type (not typedef to unsigned short)
nativewchar "on"