mirror of
https://gitee.com/Vancouver2017/luban-lite-t3e-pro.git
synced 2025-12-14 10:28:54 +00:00
20 lines
430 B
Python
20 lines
430 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')
|