|
@@ -12,8 +12,8 @@ if os.getenv('RTT_RTGUI'):
|
|
else:
|
|
else:
|
|
# set the rtgui root directory by hand
|
|
# set the rtgui root directory by hand
|
|
# empty string means use the RTGUI in svn
|
|
# empty string means use the RTGUI in svn
|
|
- # RTT_RTGUI = os.path.normpath(r'F:\Project\git\rt-gui\components\rtgui')
|
|
|
|
- RTT_RTGUI =''
|
|
|
|
|
|
+ RTT_RTGUI = os.path.normpath(r'F:\Project\git\rt-gui\components\rtgui')
|
|
|
|
+ # RTT_RTGUI =''
|
|
|
|
|
|
sys.path = sys.path + [os.path.join(RTT_ROOT, 'tools')]
|
|
sys.path = sys.path + [os.path.join(RTT_ROOT, 'tools')]
|
|
from building import *
|
|
from building import *
|
|
@@ -76,7 +76,7 @@ if GetDepend('RT_USING_RTGUI'):
|
|
variant_dir='build/examples/gui', duplicate=0)
|
|
variant_dir='build/examples/gui', duplicate=0)
|
|
|
|
|
|
# build program
|
|
# build program
|
|
-env.Program(TARGET, objs)
|
|
|
|
|
|
+program = env.Program(TARGET, objs)
|
|
|
|
|
|
-# end building
|
|
|
|
-EndBuilding(TARGET)
|
|
|
|
|
|
+# end building
|
|
|
|
+EndBuilding(TARGET, program)
|