like already mention in #124 I can write a cmake file.
I offer you an adapted CMakeLists.txt-file which i wrote for myself to include the MQTTSNGatewy in my projects.
So each of you who wants to use cmake can use it.
I provides exactly the same functionality and variable-naming like the current version of the MQTTSNGateway's Makefile.
Usage:
Copy it into paho.mqtt-sn.embedded-c/MQTTSNGateway.
cmake -G"Unix Makefiles"
make
make install
Output is the same (binaries and config-files are next to paho.mqtt-sn.embedded-c git location).
I just wanted to share my work with you, to decrease your work :) .
If you really want to switch to cmake, let me know i create a pull-request then.
Hi,
like already mention in #124 I can write a cmake file.
I offer you an adapted CMakeLists.txt-file which i wrote for myself to include the MQTTSNGatewy in my projects. So each of you who wants to use cmake can use it. I provides exactly the same functionality and variable-naming like the current version of the MQTTSNGateway's Makefile.
Usage:
Copy it into paho.mqtt-sn.embedded-c/MQTTSNGateway.
Output is the same (binaries and config-files are next to paho.mqtt-sn.embedded-c git location).
I just wanted to share my work with you, to decrease your work :) . If you really want to switch to cmake, let me know i create a pull-request then.