2018-11-29 17:00:22 +08:00
|
|
|
from building import *
|
2021-10-16 03:14:30 +08:00
|
|
|
import os
|
2018-11-29 17:00:22 +08:00
|
|
|
|
|
|
|
cwd = GetCurrentDir()
|
2021-10-16 03:14:30 +08:00
|
|
|
CPPPATH = [cwd]
|
|
|
|
src = Glob('*.c')
|
2018-11-29 17:00:22 +08:00
|
|
|
|
|
|
|
group = DefineGroup('Applications', src, depend = [''], CPPPATH = CPPPATH)
|
|
|
|
|
2021-05-14 10:06:27 +08:00
|
|
|
list = os.listdir(cwd)
|
|
|
|
for d in list:
|
|
|
|
path = os.path.join(cwd, d)
|
|
|
|
if os.path.isfile(os.path.join(path, 'SConscript')):
|
|
|
|
group = group + SConscript(os.path.join(d, 'SConscript'))
|
|
|
|
|
2018-11-29 17:00:22 +08:00
|
|
|
Return('group')
|