|
|
@ -34,10 +34,10 @@ void cmFilePathChecksum::setupParentDirs(std::string const& currentSrcDir, |
|
|
|
std::string const& projectSrcDir, |
|
|
|
std::string const& projectBinDir) |
|
|
|
{ |
|
|
|
this->parentDirs[0].first = cmsys::SystemTools::GetRealPath(currentSrcDir); |
|
|
|
this->parentDirs[1].first = cmsys::SystemTools::GetRealPath(currentBinDir); |
|
|
|
this->parentDirs[2].first = cmsys::SystemTools::GetRealPath(projectSrcDir); |
|
|
|
this->parentDirs[3].first = cmsys::SystemTools::GetRealPath(projectBinDir); |
|
|
|
this->parentDirs[0].first = cmSystemTools::GetRealPath(currentSrcDir); |
|
|
|
this->parentDirs[1].first = cmSystemTools::GetRealPath(currentBinDir); |
|
|
|
this->parentDirs[2].first = cmSystemTools::GetRealPath(projectSrcDir); |
|
|
|
this->parentDirs[3].first = cmSystemTools::GetRealPath(projectBinDir); |
|
|
|
|
|
|
|
this->parentDirs[0].second = "CurrentSource"; |
|
|
|
this->parentDirs[1].second = "CurrentBinary"; |
|
|
@ -50,7 +50,7 @@ std::string cmFilePathChecksum::get(std::string const& filePath) const |
|
|
|
std::string relPath; |
|
|
|
std::string relSeed; |
|
|
|
{ |
|
|
|
std::string const fileReal = cmsys::SystemTools::GetRealPath(filePath); |
|
|
|
std::string const fileReal = cmSystemTools::GetRealPath(filePath); |
|
|
|
std::string parentDir; |
|
|
|
// Find closest project parent directory
|
|
|
|
for (auto const& pDir : this->parentDirs) { |
|
|
|