2011-10-14 01:15:32 +08:00
|
|
|
import rtconfig
|
|
|
|
Import('RTT_ROOT')
|
|
|
|
from building import *
|
|
|
|
|
2011-11-05 18:35:28 +08:00
|
|
|
cwd = str(Dir('#'))
|
|
|
|
objs = []
|
|
|
|
list = os.listdir(cwd)
|
2011-10-14 01:15:32 +08:00
|
|
|
|
2011-11-05 18:35:28 +08:00
|
|
|
for d in list:
|
|
|
|
path = os.path.join(cwd, d)
|
|
|
|
if os.path.isfile(os.path.join(path, 'SConscript')):
|
|
|
|
objs = objs + SConscript(os.path.join(d, 'SConscript'))
|
2011-10-14 01:15:32 +08:00
|
|
|
|
2011-11-05 18:35:28 +08:00
|
|
|
Return('objs')
|