2011-02-27 21:26:17 +08:00
|
|
|
from building import *
|
|
|
|
|
2012-06-26 11:30:07 +08:00
|
|
|
cwd = GetCurrentDir()
|
|
|
|
objs = []
|
|
|
|
list = os.listdir(cwd)
|
2011-02-27 21:26:17 +08:00
|
|
|
|
2012-06-26 11:30:07 +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'))
|
|
|
|
|
|
|
|
Return('objs')
|