1# for module compiling 2import os 3Import('RTT_ROOT') 4from building import * 5 6cwd = GetCurrentDir() 7objs = [] 8list = os.listdir(cwd) 9 10ASFLAGS = ' -I' + cwd 11 12for d in list: 13 path = os.path.join(cwd, d) 14 if os.path.isfile(os.path.join(path, 'SConscript')): 15 objs = objs + SConscript(os.path.join(d, 'SConscript')) 16 17Return('objs') 18