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} version: 1.0.{build}-{branch}
clone_depth: 50 clone_depth: 1
matrix: matrix:
fast_finish: true fast_finish: true

View File

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