Commit Graph
24 Commits
Author SHA1 Message Date
Roger A. Light 340c4f323f Rename cmake helper functions. 2024-03-05 09:36:15 +00:00
Roger A. Light f39ecb3d27 Factor out a load of duplicated makefile code 2024-03-02 10:35:45 +00:00
Roger A. Light fe3b72ef61 Remove a load of cmake boilerplate 2024-02-15 13:39:11 +00:00
Roger A. Light d17a88d916 Refactor headers for easier discovery. 2023-12-23 12:59:58 +00:00
Roger A. Light c8e313aac0 Fix build
This is for the case where command line overrides are set.
2023-09-19 22:48:24 +01:00
Roger A. Light a31bee722f Simplify make build. 2023-05-10 16:20:06 +01:00
Roger A. Light fd330de080 client_id -> clientid rename. 2023-01-16 18:46:35 +00:00
Roger A. Light 8cbfb59f66 Add mosquitto_plugin_cleanup() to examples for 2.0 compatibility 2022-12-19 13:08:01 +00:00
Roger A. Light ae14eb34e1 Fix Coverity Scan 1499817 2022-10-16 23:23:43 +01:00
Kai Buschulte 8b67883548 Remove old compatibility header support
Signed-off-by: Kai Buschulte <kai.buschulte@cedalo.com>
2022-08-08 09:25:16 +00:00
Kai Buschulte 7e4746aac4 Fix missing symbols MacOS
Core symbols needed by plugins are now properly linked to their objects

 * Remove link_directories() call:

This specification is not necessary for our own libraries as cmake
shares this information over the targets.

If needed they should be specified target specific, like done for
the external DLT library.

Signed-off-by: Kai Buschulte <kai.buschulte@cedalo.com>
2022-05-11 07:01:22 +00:00
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>
2022-04-06 10:26:03 +00:00
Roger A. Light 5a3b42d4a4 Use path vars in Makefiles. 2022-02-09 14:44:09 +00:00
Roger A. Light 2976dffa71 Plugin template CMakeLists. 2021-11-16 16:17:31 +00:00
Roger Light cd07f1136b Bump copyrights. 2021-11-03 22:10:06 +00:00
Roger A. Light 91e8344a3e Windows build fixes. 2021-10-13 14:39:09 +01:00
Roger A. Light 2bfc7e7cc8 Do plugin callback unregistering automatically. 2021-09-30 12:42:13 +01:00
Roger A. Light 6763d94962 Add plugin version helper. 2021-09-30 10:56:48 +01:00
Roger A. Light 3413001d47 Add mosquitto_plugin_set_info()
This allows plugins to tell the broker their name and version.
2021-09-07 23:13:06 +01:00
Roger A. Light 76c9e44deb Test config and scripts for example plugins. 2021-09-01 09:31:17 +01:00
Roger A. Light 214feb8f6b Merge branch 'fixes' into develop 2021-05-21 15:42:26 +01:00
Roger Light 0a90e62f93 CMake tidy. 2021-05-10 00:39:46 +01:00
Roger A. Light b7b3a42e75 Strict build fixes. 2021-05-02 23:51:56 +01:00
Roger A. Light c17c6a9028 Move example plugins to their own directory. 2021-03-25 15:51:14 +00:00