rtt-f030/components/external/paho-mqtt/SConscript

14 lines
339 B
Python
Raw Normal View History

2015-07-20 22:23:43 +08:00
import rtconfig
Import('RTT_ROOT')
from building import *
# get current directory
cwd = GetCurrentDir()
# The set of source files associated with this SConscript file.
src = Glob('MQTTPacket/src/*.c')
path = [cwd + '/MQTTPacket/src']
group = DefineGroup('paho-mqtt', src, depend = ['RT_USING_PAHOMQTT'], CPPPATH = path)
Return('group')