2011-03-09 16:02:39 +08:00
|
|
|
Import('rtconfig')
|
|
|
|
import os
|
2012-11-10 15:32:39 +08:00
|
|
|
from building import *
|
2011-03-09 16:02:39 +08:00
|
|
|
|
|
|
|
|
2012-11-10 15:32:39 +08:00
|
|
|
objs = []
|
|
|
|
cwd = GetCurrentDir()
|
|
|
|
list = os.listdir(cwd)
|
2011-03-09 16:02:39 +08:00
|
|
|
|
2012-11-10 15:32:39 +08:00
|
|
|
for item in list:
|
|
|
|
if os.path.isfile(os.path.join(cwd, item, 'SConscript')):
|
|
|
|
objs = objs + SConscript(os.path.join(item, 'SConscript'))
|
2011-03-09 16:02:39 +08:00
|
|
|
|
2012-11-10 15:32:39 +08:00
|
|
|
Return('objs')
|