Build actions seem to be doing what I would expect

This commit is contained in:
Reece Wilson 2021-11-14 21:13:52 +00:00
parent bf097424ef
commit 2939130f6e
2 changed files with 5 additions and 2 deletions

View File

@ -86,6 +86,8 @@ local function addDest(name, projectType, dest)
end
local function postBuildCommands(name, type, config, platformName, arch)
local isWin = platformName == "win32"
if (isWin) then
postbuildcommands(formatCpy(Aurora.Settings.sLibPrefix .. name, type, normalizeCpyPath(Aurora.Settings.sAbsSymbols), ".pdb", true, config, platformName, arch, name))
@ -125,7 +127,7 @@ local function postBuildCommands(name, type, config, platformName, arch)
end
end
local function startProject(name, projectType, dest)
local function startProject(name, projectType)
if (not Aurora.Settings.bUseAuBuildHooks) then
return
end

View File

@ -269,7 +269,8 @@ local function setupProject(prj)
}
end, root)
buildHooks.startProject(name, projectType)
buildHooks.startProject(prj.name, prj.projectType)
auForEach(prj.dest, function(v)
addDest(prj.name, prj.projectType, v)
end)