From 387200f7458cd30dc91344a2281bb9a4d2cec412 Mon Sep 17 00:00:00 2001 From: Itms Date: Mon, 26 Feb 2018 21:49:49 +0000 Subject: [PATCH] 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. --- build/premake/premake5.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build/premake/premake5.lua b/build/premake/premake5.lua index 4d8ee46fad..221317b65c 100644 --- a/build/premake/premake5.lua +++ b/build/premake/premake5.lua @@ -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"