Files
luban-lite-t3e-pro/application/os/helloworld/lvgl/base_demo/SConscript
刘可亮 7bbc029dae v1.0.0
2023-08-30 16:21:18 +08:00

23 lines
511 B
Python

from building import *
import os
cwd = GetCurrentDir()
group = []
src = []
CPPPATH = [cwd]
if GetDepend(['AIC_CHIP_D13X']):
src += Glob('./base_simple_ui.c')
else:
src += Glob('./base_ui.c')
list = os.listdir(cwd)
for d in list:
path = os.path.join(cwd, d)
if os.path.isfile(os.path.join(path, 'SConscript')):
group = group + SConscript(os.path.join(d, 'SConscript'))
group = group + DefineGroup('LVGL-port', src, depend = ['AIC_LVGL_BASE_DEMO'], CPPPATH = CPPPATH)
Return('group')