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
|
"_GLIBCXX_DEBUG", -- libstdc++ debug mode
|
||||||
})
|
})
|
||||||
filter({"configurations:Release", "platforms:Windows"})
|
filter({"configurations:Release", "platforms:Windows"})
|
||||||
buildoptions({
|
buildoptions({
|
||||||
"/Gw",
|
"/Gw",
|
||||||
"/GS-",
|
"/GS-",
|
||||||
"/Oy"
|
"/Ob3",
|
||||||
})
|
})
|
||||||
|
|
||||||
filter("configurations:Debug")
|
filter("configurations:Debug")
|
||||||
runtime("Release")
|
runtime("Release")
|
||||||
|
@ -230,7 +230,7 @@ workspace("xenia")
|
||||||
platforms({"Linux"})
|
platforms({"Linux"})
|
||||||
elseif os.istarget("macosx") then
|
elseif os.istarget("macosx") then
|
||||||
platforms({"Mac"})
|
platforms({"Mac"})
|
||||||
xcodebuildsettings({
|
xcodebuildsettings({
|
||||||
["ARCHS"] = "x86_64"
|
["ARCHS"] = "x86_64"
|
||||||
})
|
})
|
||||||
elseif os.istarget("windows") then
|
elseif os.istarget("windows") then
|
||||||
|
|
Loading…
Reference in New Issue