2022-05-12 17:59:15 +08:00
|
|
|
# for module compiling
|
2023-02-25 10:47:04 +08:00
|
|
|
from building import *
|
2022-05-12 17:59:15 +08:00
|
|
|
import os
|
|
|
|
|
2023-02-25 10:47:04 +08:00
|
|
|
cwd = GetCurrentDir()
|
2022-05-12 17:59:15 +08:00
|
|
|
objs = []
|
|
|
|
|
2023-02-25 10:47:04 +08:00
|
|
|
list = os.listdir(cwd)
|
2022-05-12 17:59:15 +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')
|