MCPcopy Create free account
hub / github.com/Kitware/CMake / RelativeToRootBinary

Method RelativeToRootBinary

Source/cmGlobalXCodeGenerator.cxx:5335–5344  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5333}
5334
5335std::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
5346std::string cmGlobalXCodeGenerator::RelativeToBinary(std::string const& p)
5347{

Callers 1

CreateXCodeTargetMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected