diff --git a/bsp/simulator/SConstruct b/bsp/simulator/SConstruct index f4128d5fbbe9284a5c96519f8a511203677dbbb7..57322db1bef1a167e11d07915f83402c367691ee 100644 --- a/bsp/simulator/SConstruct +++ b/bsp/simulator/SConstruct @@ -7,8 +7,6 @@ if os.getenv('RTT_ROOT'): else: RTT_ROOT = os.path.normpath(os.getcwd() + '/../..') -# if you want use the rtgui in the svn (in google code), you should -# comment the following line if os.getenv('RTT_RTGUI'): RTT_RTGUI = os.getenv('RTT_RTGUI') else: @@ -65,10 +63,10 @@ if GetDepend('RT_USING_RTGUI'): env.Append(CPPPATH=sdl_include_path) if RTT_RTGUI: - objs += SConscript(os.path.join(RTT_RTGUI + '/components/rtgui', 'SConscript'), + objs += SConscript(os.path.join(RTT_RTGUI, 'SConscript'), variant_dir='build/components/rtgui', duplicate=0) - objs = objs + SConscript(RTT_RTGUI+'/demo/examples/SConscript', + objs = objs + SConscript(RTT_RTGUI+'/../../demo/examples/SConscript', variant_dir='build/examples/gui', duplicate=0) else: objs += SConscript(os.path.join(RTT_ROOT + '/components/rtgui', 'SConscript'),