mirror of
https://gitee.com/Vancouver2017/luban-lite-t3e-pro.git
synced 2025-12-14 10:28:54 +00:00
17 lines
373 B
Python
17 lines
373 B
Python
from building import *
|
|
|
|
cwd = GetCurrentDir()
|
|
path = [cwd + '/inc']
|
|
|
|
src = Glob('src/webclient.c')
|
|
|
|
if GetDepend(['WEBCLIENT_USING_FILE_DOWMLOAD']):
|
|
src += Glob('src/webclient_file.c')
|
|
|
|
if GetDepend(['WEBCLIENT_USING_SAMPLES']):
|
|
src += Glob('samples/*.c')
|
|
|
|
group = DefineGroup('WebClient', src, depend = ['LPKG_USING_WEBCLIENT'], CPPPATH = path)
|
|
|
|
Return('group')
|