[+] Readded a check for staticlibs before running post build actions
This commit is contained in:
parent
675c40d5c1
commit
a7fbe70511
@ -33,6 +33,10 @@ local function archiveShipPdb(pdbPath)
|
||||
-- TODO (reece):
|
||||
end
|
||||
|
||||
local function isNoLinkType(projectType)
|
||||
return projectType == "StaticLib" or projectType == "Blank" or projectType == "Utility"
|
||||
end
|
||||
|
||||
local function addUserDestCopy(name, type, config, platformName, arch, dir)
|
||||
local isWin = platformName == "win32"
|
||||
local debugSymbolPath = nil
|
||||
@ -67,6 +71,10 @@ local function addDest(name, projectType, dest)
|
||||
local lookup = {}
|
||||
local append = ""
|
||||
|
||||
if (isNoLinkType(projectType)) then
|
||||
return
|
||||
end
|
||||
|
||||
if (dest:starts(kPathPrefix)) then
|
||||
append = dest:sub(#kPathPrefix + 1)
|
||||
local fu = auFilterConfig(Aurora.Settings.sNameOfDebug)
|
||||
@ -132,6 +140,10 @@ local function startProject(name, projectType)
|
||||
return
|
||||
end
|
||||
|
||||
if (isNoLinkType(projectType)) then
|
||||
return
|
||||
end
|
||||
|
||||
auFilterForConfigPlatforms(function(config, platform, arch)
|
||||
postBuildCommands(name, projectType, config, platform, arch)
|
||||
end)
|
||||
|
@ -270,6 +270,7 @@ local function setupProject(prj)
|
||||
|
||||
project(prj.name)
|
||||
language("C++") -- C and MASM drivers are still available to files requiring different compilers
|
||||
justmycode("Off") -- HACK: default off
|
||||
|
||||
targetname(prj.name) -- TODO (reece): you know what to do
|
||||
kind(prj.projectType)
|
||||
|
Loading…
Reference in New Issue
Block a user