1from building import *
2
3cwd = GetCurrentDir()
4
5objs = []
6list = os.listdir(cwd)
7for d in list:
8    path = os.path.join(cwd, d)
9    if os.path.isfile(os.path.join(path, 'SConscript')):
10        objs = objs + SConscript(os.path.join(d, 'SConscript'))
11Return('objs')
12