Skip to content

Automatically detect plugin lib deps on Android

Gabriel Souza Franco requested to merge work/gbs/android-automagic into master

This makes use of the CMake 3.19 DEFER command to list all MODULE targets after processing the toplevel CMakeLists. This allows us to collect required dependencies of all plugins without changes to the application. For example, this will fix Okular not including Poppler because it is only linked from the plugin, thus not being able to actually read PDFs.


This obviously requires that CMake 3.19 be available on the build system: sysadmin/ci-tooling!121 (merged)
The mentioned Okular fix also requires changes to KCoreAddons to place plugins at the correct location: kcoreaddons!47 (merged)

Merge request reports