Now I added last part to plugin manager: support for static linked plugins. It is possible to choose at compile time which plugins will be static linked into trojita executable (and kontact kpart) and which will be shared libraries. Also it possible to comple one plugin in both modes (static link to executable and to shared library too). This means that packagers can prepare KDE only version of trojita = compile only kontact kpart plugin, no standalone executable, static link all kde plugins into kontact kpart library, disable all other shared and static plugins. So cmake options are fully configurable. Look at code if it is OK. Static linked plugins are loaded before any other from shared libraries. So if there are two plugins with same name, one is static linked and one is dynamic, then static will be used.
-- Pali Rohár pali.ro...@gmail.com
signature.asc
Description: This is a digitally signed message part.