From 01f7fea9f924584ab925c96a9ebe08c8643d8317 Mon Sep 17 00:00:00 2001 From: otavepto <153766569+otavepto@users.noreply.github.com> Date: Tue, 28 May 2024 22:26:39 +0300 Subject: [PATCH] use premkae flag dedicated to parallel build --- premake5.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/premake5.lua b/premake5.lua index 0e518719..6a2def1f 100644 --- a/premake5.lua +++ b/premake5.lua @@ -326,6 +326,8 @@ staticruntime "on" -- /MT or /MTd runtime "Release" -- ensure we never link with /MTd, otherwise deps linking will fail flags { "NoPCH", -- no precompiled header on Windows + "MultiProcessorCompile", -- Enable Visual Studio to use multiple compiler processes when building + "RelativeLinks", } targetprefix ("") -- prevent adding the prefix libxxx on linux vpaths { -- just for visual niceness, see: https://premake.github.io/docs/vpaths/ @@ -366,7 +368,7 @@ filter {} -- reset the filter and remove all active keywords -- Visual Studio common compiler/linker options filter { "action:vs*", } buildoptions { - "/permissive-", "/MP", "/DYNAMICBASE", + "/permissive-", "/DYNAMICBASE", "/utf-8", "/Zc:char8_t-", "/EHsc", "/GL-" } linkoptions {