1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Import('rtconfig') from building import * cwd = GetCurrentDir() src = [] path = [cwd] src += ['oneshot.c'] if GetDepend(['WM_USING_ONESHOT_DEMO']): src += ['oneshot_demo.c'] group = DefineGroup('oneshot', src, depend = ['WM_USING_ONESHOT'], CPPPATH = path) Return('group')