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

14 lines
339 B
Python

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