mirror of
https://github.com/xenia-project/xenia.git
synced 2025-12-06 07:12:03 +01:00
Better optimization flags for release builds.
This commit is contained in:
parent
2c1a28734e
commit
af7bc97429
|
|
@ -79,7 +79,9 @@ filter("configurations:Release")
|
||||||
"NDEBUG",
|
"NDEBUG",
|
||||||
"_NO_DEBUG_HEAP=1",
|
"_NO_DEBUG_HEAP=1",
|
||||||
})
|
})
|
||||||
optimize("On")
|
optimize("speed")
|
||||||
|
inlining("Auto")
|
||||||
|
floatingpoint("Fast")
|
||||||
flags({
|
flags({
|
||||||
"LinkTimeOptimization",
|
"LinkTimeOptimization",
|
||||||
})
|
})
|
||||||
|
|
@ -88,6 +90,9 @@ filter({"configurations:Release", "platforms:Windows"})
|
||||||
linkoptions({
|
linkoptions({
|
||||||
"/NODEFAULTLIB:MSVCRTD",
|
"/NODEFAULTLIB:MSVCRTD",
|
||||||
})
|
})
|
||||||
|
buildoptions({
|
||||||
|
"/GT", -- enable fiber-safe optimizations
|
||||||
|
})
|
||||||
|
|
||||||
filter("platforms:Linux")
|
filter("platforms:Linux")
|
||||||
system("linux")
|
system("linux")
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue