[gui]修改SConscript文件,解决找不到"tjpgd.h"的问题
This commit is contained in:
parent
b5496deee4
commit
cbca37dd1d
|
@ -1,14 +1,13 @@
|
||||||
Import('RTT_ROOT')
|
|
||||||
Import('rtconfig')
|
|
||||||
from building import *
|
from building import *
|
||||||
|
import rtconfig
|
||||||
|
|
||||||
|
cwd = GetCurrentDir()
|
||||||
src = Split('''
|
src = Split('''
|
||||||
tjpgd.c
|
tjpgd.c
|
||||||
''')
|
''')
|
||||||
|
|
||||||
CPPPATH = [RTT_ROOT + '/components/external/tjpgd1a']
|
CPPPATH = [cwd]
|
||||||
|
|
||||||
group = DefineGroup('RTGUI', src, depend = ['RT_USING_GUIENGINE', 'RTGUI_IMAGE_TJPGD'], CPPPATH = CPPPATH)
|
group = DefineGroup('RTGUI', src, depend = ['RT_USING_GUIENGINE', 'RTGUI_IMAGE_TJPGD'], CPPPATH = CPPPATH)
|
||||||
|
|
||||||
Return('group')
|
Return('group')
|
||||||
|
|
Loading…
Reference in New Issue