premake and build optimization

This commit is contained in:
Cancerous 2019-09-08 20:28:32 -04:00
parent fdec4f36c0
commit 7812ad41c8
2 changed files with 6 additions and 4 deletions

View File

@ -1,6 +1,6 @@
version: 1.0.{build}-{branch}
clone_depth: 50
clone_depth: 1
matrix:
fast_finish: true

View File

@ -79,19 +79,21 @@ filter("configurations:Release")
"NDEBUG",
"_NO_DEBUG_HEAP=1",
})
callingconvention("FastCall")
optimize("speed")
inlining("Auto")
inlining("Explicit")
floatingpoint("Fast")
functionlevellinking("off")
flags({
"LinkTimeOptimization",
})
runtime("Release")
filter({"configurations:Release", "platforms:Windows"})
linkoptions({
"/NODEFAULTLIB:MSVCRTD",
"/NODEFAULTLIB:MSVCRTD /LTCG",
})
buildoptions({
"/arch:AVX /GT /MD /MP /O2 /Ot", -- allthethings
"/arch:AVX /GL /GT /MD /MP /O2 /Oi /Ot /Qpar- /Zp16", -- allthethings
})
filter("platforms:Linux")