2020-05-26 14:49:09 +08:00
|
|
|
# for module compiling
|
|
|
|
import os
|
|
|
|
Import('RTT_ROOT')
|
|
|
|
|
2022-03-25 22:54:51 +08:00
|
|
|
cwd = str(Dir('#'))
|
2020-05-26 14:49:09 +08:00
|
|
|
objs = []
|
|
|
|
list = os.listdir(cwd)
|
|
|
|
|
|
|
|
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')
|