SConscript 356 字节
Newer Older
T
thread-liu 已提交
1
from building import *
2
import os
T
thread-liu 已提交
3 4 5

cwd = GetCurrentDir()
src = Glob('*.c')
6
CPPPATH = [cwd]
T
thread-liu 已提交
7 8 9

group = DefineGroup('Applications', src, depend = [''], CPPPATH = CPPPATH)

10 11 12 13 14
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'))

T
thread-liu 已提交
15
Return('group')