public:mosquitto-clients
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| public:mosquitto-clients [2018/02/16 09:04] – [Building with SSL-support] jan | public:mosquitto-clients [2018/05/28 21:25] (current) – [Building with SSL-support] jan | ||
|---|---|---|---|
| Line 24: | Line 24: | ||
| Change directory into mosquitto: | Change directory into mosquitto: | ||
| cd ./mosquitto | cd ./mosquitto | ||
| - | |||
| - | ==== Build options ==== | ||
| - | * c-ares (libc-ares-dev on Debian based systems) - disable with `make WITH_SRV=no` | ||
| - | * libuuid (uuid-dev) - disable with `make WITH_UUID=no` | ||
| - | * libwebsockets (libwebsockets-dev) - enable with `make WITH_WEBSOCKETS=yes` | ||
| - | * openssl (libssl-dev on Debian based systems) - disable with `make WITH_TLS=no` | ||
| ==== Building with SSL-support ==== | ==== Building with SSL-support ==== | ||
| When building with SSL: | When building with SSL: | ||
| - | export OPENSSL_ROOT_DIR=" | + | export OPENSSL_ROOT_DIR=" |
| - | export OPENSSL_INCLUDE_DIR=" | + | export OPENSSL_INCLUDE_DIR=" |
| Generate makefiles | Generate makefiles | ||
| Line 50: | Line 44: | ||
| sudo make install | sudo make install | ||
| - | In case you screwed up, clean directory | + | In case you screwed up, clean directory |
| git clean -f -d | git clean -f -d | ||
| git reset --hard | git reset --hard | ||
| Line 57: | Line 51: | ||
| To build without SSL-support add option // | To build without SSL-support add option // | ||
| - | === Surpress Policy CMP0042 Warning === | + | === Other options === |
| + | * c-ares (libc-ares-dev on Debian based systems) - disable with `make WITH_SRV=no` | ||
| + | * libuuid (uuid-dev) - disable with `make WITH_UUID=no` | ||
| + | * libwebsockets (libwebsockets-dev) - enable with `make WITH_WEBSOCKETS=yes` | ||
| + | * openssl (libssl-dev on Debian based systems) - disable with `make WITH_TLS=no` | ||
| + | |||
| + | === cmake: | ||
| Add // | Add // | ||
public/mosquitto-clients.1518771863.txt.gz · Last modified: by jan
