0ad/source/premake/functions.lua
2004-05-07 01:32:49 +00:00

7 lines
143 B
Lua
Executable File

function sourcesfromdirs(...)
local res = {}
for i=1, getn(arg) do
res[i]=matchfiles(arg[i].."/*.cpp", arg[i].."/*.h")
end
return res
end