diff options
| author | Bernard Xiong <[email protected]> | 2017-06-05 17:36:45 +0800 |
|---|---|---|
| committer | Bernard Xiong <[email protected]> | 2017-06-05 17:36:45 +0800 |
| commit | 02607c85ace5d96766fc0d01e4b05cad399130b7 (patch) | |
| tree | fb20b8e45c1adb892cc15abc0c2e32ddbbffd6fd /components/gui/SConscript | |
| parent | 2a8890b188c2c70fdfa2afeadb3909c6529e5c24 (diff) | |
[GUI Engine] change directory for image and font.
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') |
