FlexibleButton/SConscript

21 lines
341 B
Python
Raw Normal View History

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')