[*] 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
|
if (Aurora.Settings.bIsBuildDirWd) then
|
||||||
debugdir(Aurora.Settings.sAbsShip)
|
debugdir(Aurora.Settings.sAbsShip)
|
||||||
end
|
end
|
||||||
|
if (Aurora.Settings.bIsShipLTOByDefault) then
|
||||||
flags "LinkTimeOptimization"
|
flags "LinkTimeOptimization"
|
||||||
|
end
|
||||||
auFilter {}
|
auFilter {}
|
||||||
|
|
||||||
local function setTargetDir(id)
|
local function setTargetDir(id)
|
||||||
|
@ -54,6 +54,9 @@ auSetDefault(settings, "sRelAuRoot" , "./")
|
|||||||
-- When enabled, debug run targets shall run under the modules path instead of sRelWd
|
-- When enabled, debug run targets shall run under the modules path instead of sRelWd
|
||||||
auSetDefault(settings, "bIsBuildDirWd" , false)
|
auSetDefault(settings, "bIsBuildDirWd" , false)
|
||||||
|
|
||||||
|
--
|
||||||
|
auSetDefault(settings, "bIsShipLTOByDefault", true)
|
||||||
|
|
||||||
-- Archives the debug symbols of sRelShip binaries
|
-- Archives the debug symbols of sRelShip binaries
|
||||||
auSetDefault(settings, "bArchiveShipSyms", false)
|
auSetDefault(settings, "bArchiveShipSyms", false)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user