rt-thread/bsp/wch/risc-v/ch569w-evt/applications/SConscript

16 lines
236 B
Python

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')