rt-thread/components/gui/libraries/lodepng/SConscript

16 lines
407 B
Python
Raw Normal View History

2017-12-12 19:43:37 +08:00
# RT-Thread building script for gui
2014-04-20 10:09:55 +08:00
from building import *
import rtconfig
2014-04-20 10:09:55 +08:00
cwd = GetCurrentDir()
2017-12-12 19:43:37 +08:00
src = Glob('*.c') + Glob('*.cpp')
2014-04-20 10:09:55 +08:00
CPPPATH = [cwd]
if rtconfig.ARCH == 'sim':
2017-12-12 19:43:37 +08:00
group = DefineGroup('GuiEngine', src, depend = ['RTGUI_IMAGE_LODEPNG'], CPPPATH = CPPPATH)
else:
2017-12-12 19:43:37 +08:00
group = DefineGroup('GuiEngine', src, depend = ['RTGUI_IMAGE_LODEPNG', 'RT_USING_LIBC'], CPPPATH = CPPPATH)
2014-04-20 10:09:55 +08:00
Return('group')