rt-thread-official/components/drivers/sensors/SConscript

15 lines
329 B
Python
Raw Normal View History

2014-11-01 09:09:52 +08:00
# SConscript for sensor framework
from building import *
cwd = GetCurrentDir()
2019-02-12 10:15:26 +08:00
src = ['sensor.c']
2014-11-01 09:09:52 +08:00
CPPPATH = [cwd, cwd + '/../include']
2019-02-12 10:15:26 +08:00
if GetDepend('RT_USING_SENSOR_TEST'):
src += ['sensor_test.c'];
2014-11-01 09:09:52 +08:00
group = DefineGroup('Sensors', src, depend = ['RT_USING_SENSOR', 'RT_USING_DEVICE'], CPPPATH = CPPPATH)
Return('group')