4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-01-24 22:47:27 +08:00
2017-12-12 19:43:37 +08:00

16 lines
407 B
Python

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