[+] Aurora.Settings.bActionsIncludeFull

This commit is contained in:
Reece Wilson 2023-12-09 23:25:06 +00:00
parent 9246a5050a
commit befb90a055
2 changed files with 43 additions and 19 deletions

View File

@ -45,25 +45,47 @@ local addBuildCommand = function(when, scriptType, path, cwdRelToProject, args)
-- Aurora.Settings could take up too much of the win32 max command line buffer (8191 characters) -- Aurora.Settings could take up too much of the win32 max command line buffer (8191 characters)
-- This seems like a lot, but it should be well within the 8k limit -- This seems like a lot, but it should be well within the 8k limit
-- Abs can be skipped and i really dont believe we need the other settings -- Abs can be skipped and i really dont believe we need the other settings
local settings = if (Aurora.Settings.bActionsIncludeFull) then
{ local settings =
sAbsRoot = Aurora.Settings.sAbsRoot, {
sRelAuRoot = Aurora.Settings.sRelAuRoot, sAbsRoot = Aurora.Settings.sAbsRoot,
sRelScripts = Aurora.Settings.sRelScripts, sAbsAuRoot = Aurora.Settings.sAbsAuRoot,
sRelRepoScripts = Aurora.Settings.sRelRepoScripts, sAbsScripts = Aurora.Settings.sAbsScripts,
sRelDebug = Aurora.Settings.sRelDebug, sAbsRepoScripts = Aurora.Settings.sAbsRepoScripts,
sRelStage = Aurora.Settings.sRelStage, sAbsDebug = Aurora.Settings.sAbsDebug,
sRelShip = Aurora.Settings.sRelShip, sAbsStage = Aurora.Settings.sAbsStage,
sRelWd = Aurora.Settings.sRelWd, sAbsShip = Aurora.Settings.sAbsShip,
sRelSymbols = Aurora.Settings.sRelSymbols, sAbsWd = Aurora.Settings.sAbsWd,
sRelLinkLibs = Aurora.Settings.sRelLinkLibs, sAbsSymbols = Aurora.Settings.sAbsSymbols,
sRelCompilerWd = Aurora.Settings.sRelCompilerWd, sAbsLinkLibs = Aurora.Settings.sAbsLinkLibs,
sRelWin32 = Aurora.Settings.sRelWin32, sAbsCompilerWd = Aurora.Settings.sAbsCompilerWd,
sRelUnixBins = Aurora.Settings.sRelUnixBins, sAbsWin32 = Aurora.Settings.sAbsWin32,
sAbsValac = Aurora.Settings.sAbsValac, sAbsUnixBins = Aurora.Settings.sAbsUnixBins,
_punchthrough = Aurora.Settings._punchthrough -- for extended user code sAbsValac = Aurora.Settings.sAbsValac,
} _punchthrough = Aurora.Settings._punchthrough -- for extended user code
command = command .. " --settings=" .. base64.encode(json.encode(settings)) }
command = command .. " --settings=" .. base64.encode(json.encode(settings))
else
local settings =
{
sAbsRoot = Aurora.Settings.sAbsRoot,
sRelAuRoot = Aurora.Settings.sRelAuRoot,
sRelScripts = Aurora.Settings.sRelScripts,
sRelRepoScripts = Aurora.Settings.sRelRepoScripts,
sRelDebug = Aurora.Settings.sRelDebug,
sRelStage = Aurora.Settings.sRelStage,
sRelShip = Aurora.Settings.sRelShip,
sRelWd = Aurora.Settings.sRelWd,
sRelSymbols = Aurora.Settings.sRelSymbols,
sRelLinkLibs = Aurora.Settings.sRelLinkLibs,
sRelCompilerWd = Aurora.Settings.sRelCompilerWd,
sRelWin32 = Aurora.Settings.sRelWin32,
sRelUnixBins = Aurora.Settings.sRelUnixBins,
sAbsValac = Aurora.Settings.sAbsValac,
_punchthrough = Aurora.Settings._punchthrough -- for extended user code
}
command = command .. " --settings=" .. base64.encode(json.encode(settings))
end
-- the last thing i couldn't port -- the last thing i couldn't port
-- we don't need it -- we don't need it

View File

@ -124,6 +124,8 @@ auSetDefault(settings, "bForceClangOnUnix", true)
auSetDefault(settings, "bForceWin32EscLd", true) auSetDefault(settings, "bForceWin32EscLd", true)
auSetDefault(settings, "bActionsIncludeFull", false)
-- Premake5 binary name to look for when when tied into cmake. Used by build actions and other lua scripted features -- Premake5 binary name to look for when when tied into cmake. Used by build actions and other lua scripted features
auSetDefault(settings, "sDefaultCmakePremakeBin", "premake5") auSetDefault(settings, "sDefaultCmakePremakeBin", "premake5")