Skip to content

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

Notifications You must be signed in to change notification settings

BenSlabbert/mqtt-paho-cpp-cmake-demo

Repository files navigation

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

Topics

Resources

Stars

Watchers

Forks

Packages