forked from xuos/xiuos
APP_Framework/Framework/:solve the bug that compiling when the macro SUPPORT_CONNECTION_FRAMEWORK ' was not been chose
This commit is contained in:
parent
525d9d6f11
commit
279757406e
|
@ -12,8 +12,8 @@ objs = []
|
||||||
group = DefineGroup('connection', SOURCES, depend = [], CPPPATH = [cwd])
|
group = DefineGroup('connection', SOURCES, depend = [], CPPPATH = [cwd])
|
||||||
objs = objs + group
|
objs = objs + group
|
||||||
list = os.listdir(cwd)
|
list = os.listdir(cwd)
|
||||||
|
if GetDepend(['SUPPORT_CONNECTION_FRAMEWORK']):
|
||||||
for d in list:
|
for d in list:
|
||||||
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'))
|
||||||
|
|
Loading…
Reference in New Issue