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