Add port files for Paho MQTT c++ library
This commit is contained in:
25
lib/mk/libpahomqttcpp.mk
Normal file
25
lib/mk/libpahomqttcpp.mk
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
LIBPAHOMQTTCPP_DIR := $(call select_from_ports,libpahomqttcpp)/src/lib/libpahomqttcpp
|
||||||
|
|
||||||
|
vpath %.cpp $(LIBPAHOMQTTCPP_DIR)/src
|
||||||
|
|
||||||
|
INC_DIR += $(LIBPAHOMQTTCPP_DIR)/src
|
||||||
|
INC_DIR += $(LIBPAHOMQTTCPP_DIR)/pahomqttc/src
|
||||||
|
|
||||||
|
SRC_CC = async_client.cpp \
|
||||||
|
client.cpp \
|
||||||
|
connect_options.cpp \
|
||||||
|
disconnect_options.cpp \
|
||||||
|
iclient_persistence.cpp \
|
||||||
|
message.cpp \
|
||||||
|
properties.cpp \
|
||||||
|
response_options.cpp \
|
||||||
|
ssl_options.cpp \
|
||||||
|
string_collection.cpp \
|
||||||
|
subscribe_options.cpp \
|
||||||
|
token.cpp \
|
||||||
|
topic.cpp \
|
||||||
|
will_options.cpp
|
||||||
|
|
||||||
|
LIBS += libc stdcxx
|
||||||
|
|
||||||
|
CC_CXX_WARN_STRICT =
|
||||||
1
ports/libpahomqttcpp.hash
Normal file
1
ports/libpahomqttcpp.hash
Normal file
@@ -0,0 +1 @@
|
|||||||
|
05afc133ad189a20f561f811fcb78dbc370ccd08
|
||||||
12
ports/libpahomqttcpp.port
Normal file
12
ports/libpahomqttcpp.port
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
VERSION := git
|
||||||
|
DOWNLOADS := libpahomqttcpp.git libpahomqttc.git
|
||||||
|
LICENSE := EPL
|
||||||
|
|
||||||
|
|
||||||
|
URL(libpahomqttcpp) := https://github.com/eclipse/paho.mqtt.cpp
|
||||||
|
REV(libpahomqttcpp) := 0e44dd31ff725d66df4a928d50a26309626dcfd5
|
||||||
|
DIR(libpahomqttcpp) := src/lib/libpahomqttcpp
|
||||||
|
|
||||||
|
URL(libpahomqttc) := https://github.com/eclipse/paho.mqtt.c
|
||||||
|
REV(libpahomqttc) := 153dfd3a4a1d510697c5d55e169fa158db16e04a
|
||||||
|
DIR(libpahomqttc) := src/lib/libpahomqttcpp/pahomqttc
|
||||||
2
src/test/libpahomqttcpp/main.cc
Normal file
2
src/test/libpahomqttcpp/main.cc
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
int main(int argc, char* argv[]) {
|
||||||
|
}
|
||||||
5
src/test/libpahomqttcpp/target.mk
Normal file
5
src/test/libpahomqttcpp/target.mk
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
TARGET = test-libpahomqttcpp
|
||||||
|
LIBS = libpahomqttcpp
|
||||||
|
SRC_CC = main.cc
|
||||||
|
|
||||||
|
CC_CXX_WARN_STRICT =
|
||||||
Reference in New Issue
Block a user