summaryrefslogtreecommitdiff
path: root/Source/kwsys/SystemTools.hxx.in
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-01-24 09:52:25 -0500
committerBrad King <brad.king@kitware.com>2019-01-24 09:52:25 -0500
commitd67ce0a61e6a4c8b639cb19f575b4f0a5b2d033f (patch)
treebbc71ae1f140a3f99bd7398829c5d9ee3f1d410c /Source/kwsys/SystemTools.hxx.in
parent1d02491950b0aa05d2053e7fa32b39dca31e537b (diff)
parentbee32e96b392ff4e0f2baf8fdc831a9e5240c7d9 (diff)
downloadcmake-d67ce0a61e6a4c8b639cb19f575b4f0a5b2d033f.tar.gz
Merge branch 'upstream-KWSys' into update-kwsys
* upstream-KWSys: KWSys 2019-01-24 (b9dd1636)
Diffstat (limited to 'Source/kwsys/SystemTools.hxx.in')
-rw-r--r--Source/kwsys/SystemTools.hxx.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/kwsys/SystemTools.hxx.in b/Source/kwsys/SystemTools.hxx.in
index 8d1f78cf73..1967860ab4 100644
--- a/Source/kwsys/SystemTools.hxx.in
+++ b/Source/kwsys/SystemTools.hxx.in
@@ -579,6 +579,13 @@ public:
const std::string& destination);
/**
+ * Compare the contents of two files, ignoring line ending differences.
+ * Return true if different
+ */
+ static bool TextFilesDiffer(const std::string& path1,
+ const std::string& path2);
+
+ /**
* Return true if the two files are the same file
*/
static bool SameFile(const std::string& file1, const std::string& file2);