| 5070 | } |
| 5071 | |
| 5072 | std::set<cmGeneratorTarget const*> cmGeneratorTarget::GetSourceObjectLibraries( |
| 5073 | std::string const& config) const |
| 5074 | { |
| 5075 | std::set<cmGeneratorTarget const*> objectLibraries; |
| 5076 | std::vector<cmSourceFile const*> externalObjects; |
| 5077 | this->GetExternalObjects(externalObjects, config); |
| 5078 | for (cmSourceFile const* extObj : externalObjects) { |
| 5079 | std::string objLib = extObj->GetObjectLibrary(); |
| 5080 | if (cmGeneratorTarget* tgt = |
| 5081 | this->LocalGenerator->FindGeneratorTargetToUse(objLib)) { |
| 5082 | objectLibraries.insert(tgt); |
| 5083 | } |
| 5084 | } |
| 5085 | |
| 5086 | return objectLibraries; |
| 5087 | } |
| 5088 | |
| 5089 | bool cmGeneratorTarget::IsLanguageUsed(std::string const& language, |
| 5090 | std::string const& config) const |
no test coverage detected