Files
luban-lite-t3e-pro/packages/artinchip/lvgl-ui/aic_demo/vscode_simulator/SConscript
刘可亮 803cac77d5 V1.0.6
2024-09-03 11:16:08 +08:00

19 lines
470 B
Python
Executable File

from building import *
import os
cwd = GetCurrentDir()
group = []
src = Glob('*.c')
CPPPATH = [cwd]
if (GetDepend('AIC_LVGL_VSCODE_DEMO')):
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_DEMO'], CPPPATH = CPPPATH)
Return('group')