rt-thread-official/bsp/raspberry-pi/raspi4-64/applications/SConscript

15 lines
385 B
Python
Raw Normal View History

2020-04-16 16:10:57 +08:00
from building import *
cwd = GetCurrentDir()
src = Glob('*.c') + Glob('*.cpp')
CPPPATH = [cwd, str(Dir('#'))]
2020-04-16 16:10:57 +08:00
group = DefineGroup('Applications', src, depend = [''], CPPPATH = CPPPATH)
list = os.listdir(cwd)
for item in list:
if os.path.isfile(os.path.join(cwd, item, 'SConscript')):
group = group + SConscript(os.path.join(item, 'SConscript'))
2020-04-16 16:10:57 +08:00
Return('group')