mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-06-26 06:11:53 +00:00
Rework depedency management in premake lua scripts
This commit is contained in:
20
tools/scripts/including.lua
Normal file
20
tools/scripts/including.lua
Normal file
@ -0,0 +1,20 @@
|
||||
-- Functions for including projects
|
||||
Includes = {}
|
||||
|
||||
function Includes:create()
|
||||
|
||||
list = {
|
||||
handles = {}
|
||||
}
|
||||
|
||||
function list:handle(name)
|
||||
if self.handles[name] == nil then
|
||||
self.handles[name] = true
|
||||
return true
|
||||
end
|
||||
|
||||
return false
|
||||
end
|
||||
|
||||
return list
|
||||
end
|
Reference in New Issue
Block a user