Add /Ob3, remove /Oy
/Ob3 might improve performance; https://learn.microsoft.com/en-us/cpp/build/reference/ob-inline-function-expansion?view=msvc-170 /Oy is implied by /O2; https://learn.microsoft.com/en-us/cpp/build/reference/o1-o2-minimize-size-maximize-speed?view=msvc-170
This commit is contained in:
parent
a295ec1bbd
commit
0132cb9a14
12
premake5.lua
12
premake5.lua
|
@ -63,11 +63,11 @@ filter({"configurations:Checked", "platforms:Linux"})
|
|||
"_GLIBCXX_DEBUG", -- libstdc++ debug mode
|
||||
})
|
||||
filter({"configurations:Release", "platforms:Windows"})
|
||||
buildoptions({
|
||||
"/Gw",
|
||||
"/GS-",
|
||||
"/Oy"
|
||||
})
|
||||
buildoptions({
|
||||
"/Gw",
|
||||
"/GS-",
|
||||
"/Ob3",
|
||||
})
|
||||
|
||||
filter("configurations:Debug")
|
||||
runtime("Release")
|
||||
|
@ -230,7 +230,7 @@ workspace("xenia")
|
|||
platforms({"Linux"})
|
||||
elseif os.istarget("macosx") then
|
||||
platforms({"Mac"})
|
||||
xcodebuildsettings({
|
||||
xcodebuildsettings({
|
||||
["ARCHS"] = "x86_64"
|
||||
})
|
||||
elseif os.istarget("windows") then
|
||||
|
|
Loading…
Reference in New Issue