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