4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-01-29 14:40:26 +08:00
2019-02-12 14:09:34 +08:00

15 lines
329 B
Python

# SConscript for sensor framework
from building import *
cwd = GetCurrentDir()
src = ['sensor.c']
CPPPATH = [cwd, cwd + '/../include']
if GetDepend('RT_USING_SENSOR_TEST'):
src += ['sensor_test.c'];
group = DefineGroup('Sensors', src, depend = ['RT_USING_SENSOR', 'RT_USING_DEVICE'], CPPPATH = CPPPATH)
Return('group')