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
Merge commit '7dd922a880278b9ac51a50cc13de42c055b5bfd5' into bug-18253-cppmicroservices-update
Merge branch 'bug-18253-cppmicroservices-update'