cmGeneratorTarget: add a query for targets with objects in the source list This will be eventually be used to inform the collator of this information so that Fortran modules provided by the resulting objects can also be used as intended.