mirror of
https://github.com/murphyzhao/FlexibleButton.git
synced 2023-11-24 09:39:02 +08:00
[update] SConscript for rt-thread packages
Signed-off-by: MurphyZhao <d2014zjt@163.com>
This commit is contained in:
parent
0fcce0be5b
commit
0d3f3d1f73
10
SConscript
10
SConscript
@ -6,9 +6,15 @@ cwd = GetCurrentDir()
|
||||
|
||||
src = []
|
||||
|
||||
src += Glob('*.c')
|
||||
src += Split('''
|
||||
flexible_button.c
|
||||
''')
|
||||
|
||||
if GetDepend(['PKG_USING_FLEXIBLE_BUTTON_DEMO']):
|
||||
src += Glob("flexible_button_demo.c")
|
||||
|
||||
CPPPATH = [cwd]
|
||||
|
||||
group = DefineGroup('flex_button', src, depend = [], CPPPATH = CPPPATH)
|
||||
group = DefineGroup('flex_button', src, depend = ['PKG_USING_FLEXIBLE_BUTTON'], CPPPATH = CPPPATH)
|
||||
|
||||
Return('group')
|
||||
|
Loading…
x
Reference in New Issue
Block a user