Files
luban-lite-t3e-pro/packages/third-party/memleak/SConscript
2025-09-30 11:56:06 +08:00

20 lines
449 B
Python

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