| 5333 | } |
| 5334 | |
| 5335 | std::string cmGlobalXCodeGenerator::RelativeToRootBinary(std::string const& p) |
| 5336 | { |
| 5337 | std::string binaryDirectory = |
| 5338 | this->CurrentRootGenerator->GetCurrentBinaryDirectory(); |
| 5339 | if (cmSystemTools::IsSubDirectory(p, binaryDirectory)) { |
| 5340 | binaryDirectory = cmSystemTools::ForceToRelativePath(binaryDirectory, p); |
| 5341 | } |
| 5342 | |
| 5343 | return binaryDirectory; |
| 5344 | } |
| 5345 | |
| 5346 | std::string cmGlobalXCodeGenerator::RelativeToBinary(std::string const& p) |
| 5347 | { |