4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-01-23 22:47:22 +08:00

16 lines
236 B
Python
Raw Normal View History

from building import *
cwd = GetCurrentDir()
app = ARGUMENTS.get('app', "main")
src = Split("""
{}.c
""".format(app))
path = [cwd, str(Dir('#'))]
group = DefineGroup('Applications', src, depend=[''], CPPPATH=path)
Return('group')