2017-11-10 12:38:32 +08:00
|
|
|
import rtconfig
|
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.
|
2018-03-03 16:34:01 +08:00
|
|
|
if GetDepend('PKG_USING_GUIENGINE'):
|
2017-10-09 11:38:52 +08:00
|
|
|
src += ['rtgui_demo.c']
|
|
|
|
|
2018-01-10 10:54:45 +08:00
|
|
|
group = DefineGroup('Applications', src, depend = [''], CPPPATH = CPPPATH)
|
2017-04-12 09:25:37 +08:00
|
|
|
|
|
|
|
Return('group')
|