rt-thread/bsp/nuvoton/numaker-hmi-ma35d1/applications/SConscript

12 lines
352 B
Python
Raw Normal View History

from building import *
2022-10-04 09:47:58 +08:00
import os
cwd = GetCurrentDir()
2022-10-04 09:47:58 +08:00
src = Glob('*.c')
CPPPATH = [cwd]
group = DefineGroup('Applications', src, depend = [''], CPPPATH = CPPPATH)
2022-10-04 09:47:58 +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')