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)
|
2021-10-25 01:08:48 +08:00
|
|
|
for item in list:
|
|
|
|
if os.path.isfile(os.path.join(cwd, item, 'SConscript')):
|
|
|
|
group = group + SConscript(os.path.join(item, 'SConscript'))
|
2021-05-14 10:06:27 +08:00
|
|
|
|
2018-11-29 17:00:22 +08:00
|
|
|
Return('group')
|