2017-12-12 19:43:37 +08:00
|
|
|
# RT-Thread building script for bridge
|
2016-02-08 09:59:48 +08:00
|
|
|
|
2017-12-12 19:43:37 +08:00
|
|
|
import os
|
2016-02-08 09:59:48 +08:00
|
|
|
from building import *
|
|
|
|
|
|
|
|
cwd = GetCurrentDir()
|
2017-12-12 19:43:37 +08:00
|
|
|
objs = []
|
|
|
|
list = os.listdir(cwd)
|
2016-02-08 09:59:48 +08:00
|
|
|
|
2017-06-05 17:36:45 +08:00
|
|
|
if GetDepend('RT_USING_GUIENGINE'):
|
2017-12-12 19:43:37 +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'))
|
2017-06-05 17:36:45 +08:00
|
|
|
|
2017-12-12 19:43:37 +08:00
|
|
|
Return('objs')
|