| 71 | } |
| 72 | |
| 73 | void cmOutputConverter::ComputeRelativePathTopRelation() |
| 74 | { |
| 75 | if (cmSystemTools::ComparePath(this->RelativePathTopSource, |
| 76 | this->RelativePathTopBinary)) { |
| 77 | this->RelativePathTopRelation = TopRelation::InSource; |
| 78 | } else if (cmSystemTools::IsSubDirectory(this->RelativePathTopBinary, |
| 79 | this->RelativePathTopSource)) { |
| 80 | this->RelativePathTopRelation = TopRelation::BinInSrc; |
| 81 | } else if (cmSystemTools::IsSubDirectory(this->RelativePathTopSource, |
| 82 | this->RelativePathTopBinary)) { |
| 83 | this->RelativePathTopRelation = TopRelation::SrcInBin; |
| 84 | } else { |
| 85 | this->RelativePathTopRelation = TopRelation::Separate; |
| 86 | } |
| 87 | } |
| 88 | |
| 89 | std::string const& cmOutputConverter::GetRelativePathTopSource() const |
| 90 | { |
no outgoing calls
no test coverage detected