Files
luban-lite-t3e-pro/packages/third-party/memleak/SConscript

20 lines
430 B
Python
Raw Normal View History

2023-08-30 16:21:18 +08:00
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')