Files
luban-lite-t3e-pro/packages/third-party/sqlite/SConscript

17 lines
377 B
Python
Raw Normal View History

2024-04-03 16:40:57 +08:00
from building import *
cwd = GetCurrentDir()
src = ['sqlite3.c']
src += ['dbhelper.c']
2024-06-04 19:00:30 +08:00
2024-09-03 11:16:08 +08:00
if GetDepend('LPKG_SQLITE_DAO_EXAMPLE'):
2024-04-03 16:40:57 +08:00
src += Glob('student_dao.c')
2024-09-03 11:16:08 +08:00
if GetDepend('LPKG_SQLITE_RECIPE_EXAMPLE'):
2024-06-04 19:00:30 +08:00
src += Glob('recipe_test.c')
2024-04-03 16:40:57 +08:00
CPPPATH = [cwd]
2024-09-03 11:16:08 +08:00
group = DefineGroup('sqlite', src, depend = ['RT_USING_DFS', 'LPKG_USING_SQLITE'], CPPPATH = CPPPATH)
2024-04-03 16:40:57 +08:00
Return('group')