rt-thread-official/bsp/stm32/stm32h750-artpi-h750/applications/SConscript

16 lines
367 B
Python
Raw Normal View History

2020-11-22 14:51:43 +08:00
import rtconfig
from building import *
import os
2020-11-22 14:51:43 +08:00
cwd = GetCurrentDir()
path = [cwd]
src = Glob('*.c')
2020-11-22 14:51:43 +08:00
group = DefineGroup('Applications', src, depend = [''], CPPPATH = path)
2020-11-22 14:51:43 +08:00
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'))
Return('group')