mirror of
https://github.com/murphyzhao/FlexibleButton.git
synced 2023-11-24 09:39:02 +08:00
21 lines
341 B
Python
21 lines
341 B
Python
|
|
from building import *
|
|
import rtconfig
|
|
|
|
cwd = GetCurrentDir()
|
|
|
|
src = []
|
|
|
|
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 = ['PKG_USING_FLEXIBLE_BUTTON'], CPPPATH = CPPPATH)
|
|
|
|
Return('group')
|