(core): forbid link between bundles
Description
Linking between bundles is conceptually bad; this means a plug-in needs another plug-in to load. This makes things harder to launch, deploy and anyway they should be independent. If they need to share some code, this code should be moved into a library.
Proposal
- Add a test in our CMakeList.txt to forbid this (easy to do, just test if all dependencies of a bundle do not have the
${${PROJECT}_TYPE}
set toBUNDLE
? - Remove the function
findFwlibsAndBundles
in helper.cmake, it is no longer needed to look in bundles directories during the fixup_bundle. - Refactor remaining transgressors like bundles linking against ioNetwork or gui.