diff options
author | Brad King <brad.king@kitware.com> | 2015-12-01 15:44:48 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-12-01 16:00:32 (GMT) |
commit | 6b1852874325520a418eb05ec3c2149c2eb194a2 (patch) | |
tree | aed0038062bde360f5afe24021afeda3ae5cd465 /Source/cmOrderDirectories.h | |
parent | b4a2ada297214119647b26df8abe394cd73ca53a (diff) | |
download | CMake-6b1852874325520a418eb05ec3c2149c2eb194a2.zip CMake-6b1852874325520a418eb05ec3c2149c2eb194a2.tar.gz CMake-6b1852874325520a418eb05ec3c2149c2eb194a2.tar.bz2 |
cmOrderDirectories: Factor out directory comparison
Create an `IsSameDirectory` helper method.
Diffstat (limited to 'Source/cmOrderDirectories.h')
-rw-r--r-- | Source/cmOrderDirectories.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmOrderDirectories.h b/Source/cmOrderDirectories.h index 211c786..0657e92 100644 --- a/Source/cmOrderDirectories.h +++ b/Source/cmOrderDirectories.h @@ -80,6 +80,9 @@ private: struct ConflictList: public std::vector<ConflictPair> {}; std::vector<ConflictList> ConflictGraph; + // Compare directories after resolving symlinks. + bool IsSameDirectory(std::string const& l, std::string const& r); + friend class cmOrderDirectoriesConstraint; friend class cmOrderDirectoriesConstraintLibrary; }; |