| 428 | } |
| 429 | |
| 430 | std::string cmNinjaTargetGenerator::GetBmiFilePath( |
| 431 | cmSourceFile const* source, std::string const& config) const |
| 432 | { |
| 433 | auto& importedConfigInfo = this->Configs.at(config).ImportedCxxModules; |
| 434 | if (!importedConfigInfo.Initialized()) { |
| 435 | std::string configUpper = cmSystemTools::UpperCase(config); |
| 436 | std::string propName = cmStrCat("IMPORTED_CXX_MODULES_", configUpper); |
| 437 | auto value = this->GeneratorTarget->GetSafeProperty(propName); |
| 438 | importedConfigInfo.Initialize(value); |
| 439 | } |
| 440 | |
| 441 | std::string bmiName = |
| 442 | importedConfigInfo.BmiNameForSource(source->GetFullPath()); |
| 443 | |
| 444 | return cmStrCat(this->GetObjectFileDir(config), '/', bmiName); |
| 445 | } |
| 446 | |
| 447 | std::string cmNinjaTargetGenerator::GetClangTidyReplacementsFilePath( |
| 448 | std::string const& directory, cmSourceFile const& source, |
no test coverage detected