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.
14 lines
260 B
Python
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')
|