Files
lvgl/env_support/rt-thread/squareline/SConscript
Man, Jianting (Meco) 704363c5bd [rt-thread][squareline] support squareline studio for every rt-thread bsp which has supported LVGL (#3566)
Squareline Studio can automatically put the generated C files into `ui` folder, so that rt-thread will automatically detect them; or, as a user,  you can move the generated C files into `ui` folder manually.
2022-08-15 14:47:58 +02:00

14 lines
260 B
Python

from building import *
cwd = GetCurrentDir()
group = []
src = []
CPPPATH =[]
src += Glob(cwd + '/ui/*.c')
CPPPATH += [cwd+'/ui']
group = group + DefineGroup('LVGL-SquareLine', src, depend = ['PKG_USING_LVGL_SQUARELINE'], CPPPATH = CPPPATH)
Return('group')