diff options
Diffstat (limited to 'components/gui/SConscript')
| -rw-r--r-- | components/gui/SConscript | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/components/gui/SConscript b/components/gui/SConscript index fcf0ea044e..1b90649151 100644 --- a/components/gui/SConscript +++ b/components/gui/SConscript @@ -47,6 +47,14 @@ src/window.c ''') CPPPATH = [cwd + '/include'] -group = DefineGroup('GUIEngine', src, depend = ['RT_USING_GUIENGINE'], CPPPATH = CPPPATH) +group = [] +if GetDepend('RT_USING_GUIENGINE'): + group = DefineGroup('GUIEngine', src, depend = ['RT_USING_GUIENGINE'], CPPPATH = CPPPATH) + + list = os.listdir(cwd) + for d in list: + path = os.path.join(cwd, d) + if os.path.isfile(os.path.join(path, 'SConscript')): + group = group + SConscript(os.path.join(d, 'SConscript')) Return('group') |
