diff options
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') |
