BenSlabbert / mqtt-paho-cpp-cmake-demo

A repo which will hopefully help those starting out with C++ and CMake. This is a working example of setting up a simple C++ project with some external dependencies you need to manually install on your system

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

paho-mqtt-cpp-examples

Build

See the Dockerfile Run docker build . which will install all dependencies and build the 3 artifacts. You can use docker cp to get them out of the container

Dependencies

build with -DPAHO_WITH_SSL=OFF for a non-ssl build (there are dependencies on OpenSSL crypto libs)

depends on paho.mqtt.c build with -DPAHO_WITH_SSL=OFF

build with -DBUILD_TESTING=OFF otherwise you will need the benchmark dependency (I think it is this one)

About

A repo which will hopefully help those starting out with C++ and CMake. This is a working example of setting up a simple C++ project with some external dependencies you need to manually install on your system


Languages

Language:C++ 59.5%Language:Dockerfile 24.0%Language:CMake 15.3%Language:Shell 1.1%