rt-thread/bsp/stm32/stm32h750-weact-ministm32h7xx/applications/SConscript

16 lines
367 B
Python
Raw Normal View History

import rtconfig
from building import *
2022-10-16 20:42:31 +08:00
import os
2022-10-16 20:42:31 +08:00
cwd = GetCurrentDir()
path = [cwd]
src = Glob('*.c')
2022-10-16 20:42:31 +08:00
group = DefineGroup('Applications', src, depend = [''], CPPPATH = path)
2022-10-16 20:42:31 +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')