1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
| sudo apt-get install build-essential gcc make cmake cmake-gui cmake-curses-gui sudo apt-get install libssl-dev sudo apt-get install doxygen graphviz
tar -zxvf paho.mqtt.c.tar.gz cd paho.mqtt.c git checkout v1.3.8 cmake -Bbuild -H. -DPAHO_ENABLE_TESTING=OFF -DPAHO_BUILD_STATIC=ON -DPAHO_WITH_SSL=ON -DPAHO_HIGH_PERFORMANCE=ON sudo cmake --build build/ --target install sudo ldconfig cd paho.mqtt.cpp cmake -Bbuild -H. -DPAHO_BUILD_STATIC=ON -DPAHO_BUILD_DOCUMENTATION=TRUE -DPAHO_BUILD_SAMPLES=TRUE sudo cmake --build build/ --target install sudo ldconfig
|