[GUI Engine] change directory for image and font.

This commit is contained in:
Bernard Xiong
2017-06-05 17:36:45 +08:00
parent 2a8890b188
commit 02607c85ac
723 changed files with 10 additions and 205 deletions
@@ -0,0 +1,16 @@
from building import *
import rtconfig
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)
Return('group')