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

17 lines
368 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'))
2023-01-09 10:14:23 +08:00
Return('group')