[lvgl] 将lvgl目录调整到application文件夹下

This commit is contained in:
Meco Man 2021-12-19 18:21:31 -05:00
parent f4aa860d8b
commit 1948988913
28 changed files with 13 additions and 2 deletions

View File

@ -1,3 +1,4 @@
import os
from building import *
cwd = GetCurrentDir()
@ -6,4 +7,9 @@ CPPPATH = [cwd]
group = DefineGroup('Applications', src, depend = [''], CPPPATH = CPPPATH)
list = os.listdir(cwd)
for item in list:
if os.path.isfile(os.path.join(cwd, item, 'SConscript')):
group = group + SConscript(os.path.join(item, 'SConscript'))
Return('group')

View File

@ -1,10 +1,15 @@
import os
from building import *
cwd = GetCurrentDir()
src = Glob('*.c')
CPPPATH = [cwd, str(Dir('#'))]
CPPPATH = [cwd]
group = DefineGroup('Applications', src, depend = [''], CPPPATH = CPPPATH)
list = os.listdir(cwd)
for item in list:
if os.path.isfile(os.path.join(cwd, item, 'SConscript')):
group = group + SConscript(os.path.join(item, 'SConscript'))
Return('group')