[*] Added a global LTO value for ship releases
This commit is contained in:
parent
b85c22c409
commit
5540fcbd79
@ -32,7 +32,9 @@ local function configureProjectForSolution(prj)
|
||||
if (Aurora.Settings.bIsBuildDirWd) then
|
||||
debugdir(Aurora.Settings.sAbsShip)
|
||||
end
|
||||
if (Aurora.Settings.bIsShipLTOByDefault) then
|
||||
flags "LinkTimeOptimization"
|
||||
end
|
||||
auFilter {}
|
||||
|
||||
local function setTargetDir(id)
|
||||
|
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user