[*] Added a global LTO value for ship releases

This commit is contained in:
Reece Wilson 2023-08-25 14:11:50 +01:00
parent b85c22c409
commit 5540fcbd79
2 changed files with 7 additions and 2 deletions

View File

@ -32,7 +32,9 @@ local function configureProjectForSolution(prj)
if (Aurora.Settings.bIsBuildDirWd) then
debugdir(Aurora.Settings.sAbsShip)
end
flags "LinkTimeOptimization"
if (Aurora.Settings.bIsShipLTOByDefault) then
flags "LinkTimeOptimization"
end
auFilter {}
local function setTargetDir(id)

View File

@ -54,8 +54,11 @@ auSetDefault(settings, "sRelAuRoot" , "./")
-- When enabled, debug run targets shall run under the modules path instead of sRelWd
auSetDefault(settings, "bIsBuildDirWd" , false)
--
auSetDefault(settings, "bIsShipLTOByDefault", true)
-- Archives the debug symbols of sRelShip binaries
auSetDefault(settings, "bArchiveShipSyms" , false)
auSetDefault(settings, "bArchiveShipSyms", false)
-- C++ language version. C++14/17/20
auSetDefault(settings, "sCppVersion", "C++20")