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