summaryrefslogtreecommitdiff
path: root/components/gui/libraries/lodepng/SConscript
blob: 2ce81bdb5697064feb5bbdc799cf8b9f3228d793 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# RT-Thread building script for gui

from building import *
import rtconfig

cwd = GetCurrentDir()
src = Glob('*.c') + Glob('*.cpp')
CPPPATH = [cwd]

if rtconfig.ARCH == 'sim':
    group = DefineGroup('GuiEngine', src, depend = ['RTGUI_IMAGE_LODEPNG'], CPPPATH = CPPPATH)
else:
    group = DefineGroup('GuiEngine', src, depend = ['RTGUI_IMAGE_LODEPNG', 'RT_USING_LIBC'], CPPPATH = CPPPATH)

Return('group')