2018-11-29 17:00:22 +08:00
|
|
|
import rtconfig
|
2021-05-14 10:06:27 +08:00
|
|
|
import os
|
2018-11-29 17:00:22 +08:00
|
|
|
from building import *
|
|
|
|
|
|
|
|
cwd = GetCurrentDir()
|
|
|
|
CPPPATH = [cwd, str(Dir('#'))]
|
|
|
|
src = Split("""
|
|
|
|
main.c
|
|
|
|
""")
|
|
|
|
|
|
|
|
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')
|