mirror of
https://github.com/Detanup01/gbe_fork.git
synced 2024-11-23 19:25:35 +08:00
use premkae flag dedicated to parallel build
This commit is contained in:
parent
c1765eb02f
commit
01f7fea9f9
@ -326,6 +326,8 @@ staticruntime "on" -- /MT or /MTd
|
|||||||
runtime "Release" -- ensure we never link with /MTd, otherwise deps linking will fail
|
runtime "Release" -- ensure we never link with /MTd, otherwise deps linking will fail
|
||||||
flags {
|
flags {
|
||||||
"NoPCH", -- no precompiled header on Windows
|
"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
|
targetprefix ("") -- prevent adding the prefix libxxx on linux
|
||||||
vpaths { -- just for visual niceness, see: https://premake.github.io/docs/vpaths/
|
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
|
-- Visual Studio common compiler/linker options
|
||||||
filter { "action:vs*", }
|
filter { "action:vs*", }
|
||||||
buildoptions {
|
buildoptions {
|
||||||
"/permissive-", "/MP", "/DYNAMICBASE",
|
"/permissive-", "/DYNAMICBASE",
|
||||||
"/utf-8", "/Zc:char8_t-", "/EHsc", "/GL-"
|
"/utf-8", "/Zc:char8_t-", "/EHsc", "/GL-"
|
||||||
}
|
}
|
||||||
linkoptions {
|
linkoptions {
|
||||||
|
Loading…
Reference in New Issue
Block a user