APP_Framework/Framework/:solve the bug that compiling when the macro SUPPORT_CONNECTION_FRAMEWORK ' was not been chose

This commit is contained in:
chunyexixiaoyu 2022-04-25 16:26:27 +08:00
parent 525d9d6f11
commit 279757406e
1 changed files with 5 additions and 5 deletions

View File

@ -12,10 +12,10 @@ objs = []
group = DefineGroup('connection', SOURCES, depend = [], CPPPATH = [cwd])
objs = objs + group
list = os.listdir(cwd)
for d in list:
path = os.path.join(cwd, d)
if os.path.isfile(os.path.join(path, 'SConscript')):
objs = objs + SConscript(os.path.join(path, 'SConscript'))
if GetDepend(['SUPPORT_CONNECTION_FRAMEWORK']):
for d in list:
path = os.path.join(cwd, d)
if os.path.isfile(os.path.join(path, 'SConscript')):
objs = objs + SConscript(os.path.join(path, 'SConscript'))
Return('objs')