SConscript 415 字节
Newer Older
N
nongxiaoming 已提交
1 2 3 4 5
from building import *

cwd  = GetCurrentDir()
objs = []

6 7 8 9 10 11 12 13 14 15
for d in os.listdir(os.path.join(cwd, '..')):
    if d not in ('M0', 'M4'):
        path = os.path.join(cwd, '..', d, 'SConscript')
        if os.path.isfile(path):
            objs = objs + SConscript(path)

for d in os.listdir(cwd):
    p = os.path.join(cwd, d, 'SConscript');
    if os.path.isfile(p):
        objs = objs + SConscript(p)
N
nongxiaoming 已提交
16 17

Return('objs')