[+] 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,6 +45,27 @@ 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
if (Aurora.Settings.bActionsIncludeFull) then
local settings =
{
sAbsRoot = Aurora.Settings.sAbsRoot,
sAbsAuRoot = Aurora.Settings.sAbsAuRoot,
sAbsScripts = Aurora.Settings.sAbsScripts,
sAbsRepoScripts = Aurora.Settings.sAbsRepoScripts,
sAbsDebug = Aurora.Settings.sAbsDebug,
sAbsStage = Aurora.Settings.sAbsStage,
sAbsShip = Aurora.Settings.sAbsShip,
sAbsWd = Aurora.Settings.sAbsWd,
sAbsSymbols = Aurora.Settings.sAbsSymbols,
sAbsLinkLibs = Aurora.Settings.sAbsLinkLibs,
sAbsCompilerWd = Aurora.Settings.sAbsCompilerWd,
sAbsWin32 = Aurora.Settings.sAbsWin32,
sAbsUnixBins = Aurora.Settings.sAbsUnixBins,
sAbsValac = Aurora.Settings.sAbsValac,
_punchthrough = Aurora.Settings._punchthrough -- for extended user code
}
command = command .. " --settings=" .. base64.encode(json.encode(settings))
else
local settings = local settings =
{ {
sAbsRoot = Aurora.Settings.sAbsRoot, sAbsRoot = Aurora.Settings.sAbsRoot,
@ -64,6 +85,7 @@ local addBuildCommand = function(when, scriptType, path, cwdRelToProject, args)
_punchthrough = Aurora.Settings._punchthrough -- for extended user code _punchthrough = Aurora.Settings._punchthrough -- for extended user code
} }
command = command .. " --settings=" .. base64.encode(json.encode(settings)) 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")