premake and build optimization
This commit is contained in:
parent
fdec4f36c0
commit
7812ad41c8
|
@ -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
|
||||||
|
|
|
@ -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")
|
||||||
|
|
Loading…
Reference in New Issue