| 5323 | } |
| 5324 | |
| 5325 | std::string cmGlobalXCodeGenerator::RelativeToSource(std::string const& p) |
| 5326 | { |
| 5327 | std::string const& rootSrc = |
| 5328 | this->CurrentRootGenerator->GetCurrentSourceDirectory(); |
| 5329 | if (cmSystemTools::IsSubDirectory(p, rootSrc)) { |
| 5330 | return cmSystemTools::ForceToRelativePath(rootSrc, p); |
| 5331 | } |
| 5332 | return p; |
| 5333 | } |
| 5334 | |
| 5335 | std::string cmGlobalXCodeGenerator::RelativeToRootBinary(std::string const& p) |
| 5336 | { |
no outgoing calls
no test coverage detected