| 116 | } |
| 117 | |
| 118 | void cmLocalCommonGenerator::ComputeObjectFilenames( |
| 119 | std::map<cmSourceFile const*, cmObjectLocations>& mapping, |
| 120 | std::string const& config, cmGeneratorTarget const* gt) |
| 121 | { |
| 122 | // Determine if these object files should use a custom extension |
| 123 | char const* custom_ext = gt->GetCustomObjectExtension(); |
| 124 | for (auto& si : mapping) { |
| 125 | cmSourceFile const* sf = si.first; |
| 126 | bool keptSourceExtension; |
| 127 | bool force = true; |
| 128 | si.second.ShortLoc.emplace(this->GetObjectFileNameWithoutTarget( |
| 129 | *sf, gt->ObjectDirectory, &keptSourceExtension, custom_ext, &force)); |
| 130 | force = false; |
| 131 | si.second.LongLoc.Update(this->GetObjectFileNameWithoutTarget( |
| 132 | *sf, gt->ObjectDirectory, &keptSourceExtension, custom_ext, &force)); |
| 133 | this->FillCustomInstallObjectLocations(*sf, config, custom_ext, |
| 134 | si.second.InstallLongLoc); |
| 135 | } |
| 136 | } |
nothing calls this directly
no test coverage detected