rt-thread-official/components/external/lodepng/SConscript

17 lines
390 B
Python
Raw Normal View History

2014-04-20 10:09:55 +08:00
from building import *
import rtconfig
2014-04-20 10:09:55 +08:00
cwd = GetCurrentDir()
src = Split('''
lodepng.c
''')
CPPPATH = [cwd]
if rtconfig.ARCH == 'sim':
group = DefineGroup('RTGUI', src, depend = ['RT_USING_RTGUI', 'RTGUI_IMAGE_LODEPNG'], CPPPATH = CPPPATH)
else:
group = DefineGroup('RTGUI', src, depend = ['RT_USING_RTGUI', 'RTGUI_IMAGE_LODEPNG', 'RT_USING_LIBC'], CPPPATH = CPPPATH)
2014-04-20 10:09:55 +08:00
Return('group')