rt-thread/bsp/stm32f429-apollo/applications/SConscript

22 lines
391 B
Python
Raw Normal View History

Import('RTT_ROOT')
Import('rtconfig')
from building import *
cwd = os.path.join(str(Dir('#')), 'applications')
#src = Glob('*.c')
CPPPATH = [cwd, str(Dir('#'))]
src = Split("""
application.c
startup.c
""")
# add gpio drivers.
if GetDepend('RT_USING_GUIENGINE'):
src += ['rtgui_demo.c']
group = DefineGroup('Applications', src, depend = [''], CPPPATH = CPPPATH)
Return('group')