| 6315 | } |
| 6316 | |
| 6317 | cmFileSet const* cmGeneratorTarget::GetFileSetForSource( |
| 6318 | std::string const& config, cmSourceFile const* sf) const |
| 6319 | { |
| 6320 | this->BuildFileSetInfoCache(config); |
| 6321 | |
| 6322 | auto const& path = sf->GetFullPath(); |
| 6323 | auto const& per_config = this->Configs[config]; |
| 6324 | |
| 6325 | auto const fsit = per_config.FileSetCache.find(path); |
| 6326 | if (fsit == per_config.FileSetCache.end()) { |
| 6327 | return nullptr; |
| 6328 | } |
| 6329 | return fsit->second; |
| 6330 | } |
| 6331 | |
| 6332 | bool cmGeneratorTarget::NeedDyndepForSource(std::string const& lang, |
| 6333 | std::string const& config, |
no test coverage detected