[+] Linkable libraries can now ask for the dependent to compile a script
-> Consider libraries that require some kind of static initialization -> Used for AuroraRuntime c++ allocator overloads [*] Fix copy by abs
This commit is contained in:
parent
112a98c3e1
commit
9f5fa6d8e4
@ -170,9 +170,15 @@ function JsonProcessor(info)
|
||||
forEach(result.actions, handleActionsForLinks, this)
|
||||
end
|
||||
|
||||
local handleSourcesRel = function(source, path)
|
||||
files(path .. "/" .. source)
|
||||
end
|
||||
|
||||
local handleLink = function(this)
|
||||
dependson (this.info.name)
|
||||
|
||||
forEach(result.linkSources, handleSourcesRel, info.path)
|
||||
|
||||
local erase = false;
|
||||
if (not _G["_linkingcur"]) then
|
||||
erase = true
|
||||
|
@ -19,13 +19,13 @@ local addDest = function(name, projectType, dest)
|
||||
filter {}
|
||||
else
|
||||
filter "configurations:Debug"
|
||||
projectCopyCmds(name, projectType, "debug", path)
|
||||
projectCopyCmds(name, projectType, "debug", dest)
|
||||
|
||||
filter "configurations:Release"
|
||||
projectCopyCmds(name, projectType, "release", path)
|
||||
projectCopyCmds(name, projectType, "release", dest)
|
||||
|
||||
filter "configurations:Ship"
|
||||
projectCopyCmds(name, projectType, "ship", path)
|
||||
projectCopyCmds(name, projectType, "ship", dest)
|
||||
|
||||
filter {}
|
||||
end
|
||||
|
@ -334,6 +334,7 @@ function isWeakCircularReference(depName)
|
||||
return
|
||||
end
|
||||
|
||||
-- TODO: recursion
|
||||
for index, value in ipairs(dep.deps) do
|
||||
if value == curName then
|
||||
return true
|
||||
|
Loading…
Reference in New Issue
Block a user