Squashed 'Core/CppMicroServices/' changes from 16603da..8591047
8591047 Check if module stream is valid.
025a4ee Don't add custom target or empty options if no resources are specified.
git-subtree-dir: Core/CppMicroServices
git-subtree-split: 8591047732e8924bfea23948dd5b22671d15494b