2023-02-22 18:22:33 +08:00
|
|
|
import os
|
2022-11-24 16:08:56 +08:00
|
|
|
from building import *
|
|
|
|
|
2023-02-22 18:22:33 +08:00
|
|
|
objs = []
|
|
|
|
cwd = GetCurrentDir()
|
2022-11-24 16:08:56 +08:00
|
|
|
|
2023-02-22 18:22:33 +08:00
|
|
|
list = os.listdir(cwd)
|
|
|
|
for item in list:
|
|
|
|
if os.path.isfile(os.path.join(cwd, item, 'SConscript')):
|
|
|
|
objs = objs + SConscript(os.path.join(item, 'SConscript'))
|
2022-11-24 16:08:56 +08:00
|
|
|
|
2023-02-22 18:22:33 +08:00
|
|
|
Return('objs')
|