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

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