diff options
| author | [email protected] <[email protected]> | 2012-07-26 06:36:49 +0000 |
|---|---|---|
| committer | [email protected] <[email protected]> | 2012-07-26 06:36:49 +0000 |
| commit | 08e05eb3b493cd92601217fcf86fe6daa196eec4 (patch) | |
| tree | 8a4d360ceb974599fd9c934b827519e5c3542abd /components/rtgui/SConscript | |
| parent | f7fbd6bc6d72ba92e8d2c30176e94ab36e7c7c4e (diff) | |
sync with github bd3351e572
As always, full log is in GitHub.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2234 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'components/rtgui/SConscript')
| -rw-r--r-- | components/rtgui/SConscript | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/components/rtgui/SConscript b/components/rtgui/SConscript index 0192454551..3aae1f0adb 100644 --- a/components/rtgui/SConscript +++ b/components/rtgui/SConscript @@ -1,4 +1,4 @@ -Import('RTT_ROOT') +import os from building import * common_src = Split(""" @@ -72,10 +72,10 @@ widgets/panel.c # The set of source files associated with this SConscript file. src = common_src + server_src + widgets_src -path = [RTT_ROOT + '/components/rtgui/include', - RTT_ROOT + '/components/rtgui/common', - RTT_ROOT + '/components/rtgui/server', - RTT_ROOT + '/components/rtgui/widgets'] +cwd = GetCurrentDir() +dirs = ['include', 'common', 'server', 'widgets'] +path = [os.path.join(cwd, i) for i in dirs] + group = DefineGroup('RTGUI', src, depend = ['RT_USING_RTGUI'], CPPPATH = path) Return('group') |
