rt-thread-official/components/utilities/libadt/SConscript

16 lines
330 B
Python

from building import *
cwd = GetCurrentDir()
list = os.listdir(cwd)
objs = []
if not GetDepend(['RT_USING_ADT']):
Return('objs')
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')