1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
# RT-Thread building script for component Import('RTT_ROOT') Import('rtconfig') from building import * cwd = GetCurrentDir() # add the general drivers. src = Split(""" main.c """) CPPPATH = [cwd, str(Dir('#'))] group = DefineGroup('Applications', src, depend = [''], CPPPATH = CPPPATH) Return('group')