Include more details in the module metadata file. - Added the identity of the component contained in the current module, if any. - Added connection back to the main module of the component, where the current module is not the main module. - Added connection to the module that contains each variant, when the variant is not contained in the current module. - Added size and content information for each file.
Moved responsibility for generating the correct module metadata for a component that is published across multiple modules into the publish plugins, instead of hacking this together in the C++ plugin. The implementation is arguably still hackey but is now in a better home, where it can be reused by other plugins. The module metadata generated for published C++ executables now includes the correct references to the debug and release variants, which are published to separate modules.