summaryrefslogtreecommitdiffstats
path: root/Source/cmSystemTools.h
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2007-07-16 14:54:32 (GMT)
committerAlexander Neundorf <neundorf@kde.org>2007-07-16 14:54:32 (GMT)
commit5bb94ce16635954f460edcacd5422bc8d53fb8c1 (patch)
tree2632f80554b159a3cd195d4afdc2be1bdc856c17 /Source/cmSystemTools.h
parent56838c115ed813711f3e5cbd5bef4646677e5467 (diff)
downloadCMake-5bb94ce16635954f460edcacd5422bc8d53fb8c1.zip
CMake-5bb94ce16635954f460edcacd5422bc8d53fb8c1.tar.gz
CMake-5bb94ce16635954f460edcacd5422bc8d53fb8c1.tar.bz2
ENH: apply patch from Mathieu, add argument -E md5sum to compute md5sums of
files, compatible to md5sum output Alex
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 f785358..0cba39c 100644
--- a/Source/cmSystemTools.h
+++ b/Source/cmSystemTools.h
@@ -165,6 +165,9 @@ public:
static bool CopyFileIfDifferent(const char* source,
const char* destination);
+ ///! Compute the md5sum of a file
+ static bool ComputeFileMD5(const char* source, char* md5out);
+
/**
* Run an executable command and put the stdout in output.
* A temporary file is created in the binaryDir for storing the