You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
823 B
29 lines
823 B
|
2 weeks ago
|
import rtconfig
|
||
|
|
|
||
|
|
from building import *
|
||
|
|
|
||
|
|
cwd = GetCurrentDir()
|
||
|
|
CPPPATH = [cwd, str(Dir('#'))]
|
||
|
|
CPPDEFINES = ['LV_LVGL_H_INCLUDE_SIMPLE=1']
|
||
|
|
|
||
|
|
include_path = [ cwd,
|
||
|
|
os.path.join(cwd,"custom"),
|
||
|
|
os.path.join(cwd,"generated"),
|
||
|
|
os.path.join(cwd,"generated/guider_customer_fonts"),
|
||
|
|
os.path.join(cwd,"generated/guider_fonts"),
|
||
|
|
os.path.join(cwd,"generated/images")
|
||
|
|
]
|
||
|
|
|
||
|
|
src = Glob('*.c');
|
||
|
|
|
||
|
|
if GetDepend(['PKG_USING_GUI_GUIDER_DEMO']):
|
||
|
|
src += Glob('custom/*.c')
|
||
|
|
src += Glob('generated/*.c')
|
||
|
|
src += Glob('generated/guider_customer_fonts/*.c')
|
||
|
|
src += Glob('generated/guider_fonts/*.c')
|
||
|
|
src += Glob('generated/images/*.c')
|
||
|
|
|
||
|
|
group = DefineGroup('GUI-Guider-demo', src, depend = ['PKG_USING_GUI_GUIDER_DEMO'], CPPPATH = include_path, CPPDEFINES=CPPDEFINES)
|
||
|
|
|
||
|
|
Return('group')
|