Kai Buschulte
36935a3384
Use OpenSSL:SSL cmake target
...
Instead of using the CMAKE_OPENSSL_INCLUDE and CMAKE_OPENSSL_LIBRARY
variables the imported target OpenSSL::SSL is used.
This is a more modern way of target linking.
Signed-off-by: Kai Buschulte <kai.buschulte@cedalo.com>
3 years ago
Kai Buschulte
0e9df05d0d
Add imported target for cJSON
...
Signed-off-by: Kai Buschulte <kai.buschulte@cedalo.com>
3 years ago
Norbert Heusser
d4216c8cb6
Fixed CMakeLists.txt
...
* Addded missing files plugin_subscribe and plugin_unsubscribe to src/CMakeLists.txt
* Aligned mixed usage of all-keyword and all-plain in target_link_libra…ry definition in in CMakeLists.txt
Signed-off-by: Norbert Heusser <norbert.heusser@cedalo.com>
4 years ago
Roger A. Light
b922c13509
Compile broker against pthreads if threading enabled.
...
This allows plugins to *carefully* use threads.
4 years ago
Roger A. Light
ffb7661d86
Move shared code to common directory
...
This is currently limited to "utility" type functions and does not include code common to the library and broker that are protocol related.
4 years ago
Roger A. Light
6b32cf61b2
CMake build fixes, including sqlite support.
4 years ago
Roger A. Light
799cdead15
Experimental custom websockets support.
4 years ago
Roger Light
dbd0d6f0d8
CMake build fixes.
4 years ago
Roger A. Light
a25fc166a8
Add $CONTROL/broker/v1 control & the `getPluginInfo` command.
4 years ago
Roger A. Light
c862ffec8b
Allow mosquitto_ctrl dynsec module to update passwords in files
4 years ago
Roger Light
0a90e62f93
CMake tidy.
4 years ago
Roger A. Light
6ad5f19aef
CMake build fixes for Windows.
5 years ago
Roger A. Light
550c54701e
Fix cmake build when cjson not available.
5 years ago
Roger A. Light
edd74cca59
Fix cmake build of mosquitto_ctrl.
5 years ago
Franz Auernigg
73f1a1c892
Fix enclosing include brackets in cmake
...
Signed-off-by: Franz Auernigg <f.auernigg@commend.com>
5 years ago
Roger A. Light
99a544ac73
ctrl: Ask for login password if the user doesn't provide it.
5 years ago
Roger A. Light
fdff255916
New dynamic security plugin.
5 years ago