Closed andreas-ibm closed 6 years ago
Thank you for your contribution. cmake should be a final solution for this issue. I have no skill to do it. can I ask a favor of you?
yeah, I'm not a huge cmake person either, I've used just about every other make system!
If I have time I'll take a look. Although I don't think this gateway is a viable option for me anymore, only just noticed issue #34 !
Do you know of any server that supports qos -1?
I can write a cmake file for the MQTTSNGateway and update the README.md
But then:
Is that ok?
Another thing are the the *.conf files which are copied next to the git clone location. This makes no sense when we install it system-wide. What shall I do with the configuration files?
After installing it system-wide we should think about a systemd unit file so we can manage via sudo service mqttsngateway start | stop | status
.
Hi S3Ier,
Thank you for your proposal.
I noticed it that updating a Makefle is enough because of your proposal.
If some one wants to install programs into specific directory, command line is as follows:
$ make install INSTALL_DIR=/any/pah/you/like CONFIG_DIR=/any/pah/you/like
I will change the Makefile.
I wanted to be able to build and run this from a system-wide environment without needing to know the location of the git clone. So I updated the Makefile to take a prefix and install the components there...