This commit is contained in:
bernard 2014-01-04 07:56:08 +08:00
commit 737c7acfea

View File

@ -2,11 +2,11 @@ from building import *
cwd = GetCurrentDir() cwd = GetCurrentDir()
objs = [] objs = []
list = os.listdir(cwd+'\\..') list = os.listdir(os.path.join(cwd, '..'))
for d in list: for d in list:
if d!='m4': if d!='m4':
path = os.path.join(cwd+'\\..', d) path = os.path.join(cwd, '..', d)
if os.path.isfile(os.path.join(path, 'SConscript')): if os.path.isfile(os.path.join(path, 'SConscript')):
objs = objs + SConscript(os.path.join(path, 'SConscript')) objs = objs + SConscript(os.path.join(path, 'SConscript'))