2017-04-12 09:25:37 +08:00
|
|
|
from building import *
|
|
|
|
|
2017-10-09 15:12:03 +08:00
|
|
|
cwd = GetCurrentDir()
|
2017-04-12 09:25:37 +08:00
|
|
|
CPPPATH = [cwd, str(Dir('#'))]
|
2017-10-09 15:12:03 +08:00
|
|
|
src = Split("""
|
2017-10-09 11:38:52 +08:00
|
|
|
application.c
|
|
|
|
startup.c
|
|
|
|
""")
|
|
|
|
|
2017-10-09 15:12:03 +08:00
|
|
|
# add UI engine demo.
|
2017-10-09 11:38:52 +08:00
|
|
|
if GetDepend('RT_USING_GUIENGINE'):
|
|
|
|
src += ['rtgui_demo.c']
|
|
|
|
|
|
|
|
group = DefineGroup('Applications', src, depend = [''], CPPPATH = CPPPATH)
|
2017-04-12 09:25:37 +08:00
|
|
|
|
|
|
|
Return('group')
|