1
0
forked from 0ad/0ad
0ad/build/premake/functions.lua

7 lines
161 B
Lua
Raw Normal View History

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