summaryrefslogtreecommitdiffstats
path: root/Source/cmSystemTools.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmSystemTools.h')
-rw-r--r--Source/cmSystemTools.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmSystemTools.h b/Source/cmSystemTools.h
index b24e681..be952fc 100644
--- a/Source/cmSystemTools.h
+++ b/Source/cmSystemTools.h
@@ -204,6 +204,9 @@ public:
///! Compare the contents of two files. Return true if different.
static bool FilesDiffer(const char* source,
const char* destination);
+ ///! return true if the two files are the same file
+ static bool SameFile(const char* file1, const char* file2);
+
///! Copy a file.
static void cmCopyFile(const char* source,
const char* destination);