from building import * import rtconfig # get current directory cwd = GetCurrentDir() # The set of source files associated with this SConscript file. src = [] if GetDepend('LPKG_USING_MEMLEAK_CHECK_EXAMPLE'): src += Glob('mem_leak_example.c') LOCAL_CCFLAGS = '' path = [cwd] group = DefineGroup('memleak', src, CPPPATH = path, depend = ['LPKG_USING_MEMLEAK_CHECK'], LOCAL_CCFLAGS = LOCAL_CCFLAGS) Return('group')