diff options
author | Alexander Neundorf <neundorf@kde.org> | 2007-07-16 14:54:32 (GMT) |
---|---|---|
committer | Alexander Neundorf <neundorf@kde.org> | 2007-07-16 14:54:32 (GMT) |
commit | 5bb94ce16635954f460edcacd5422bc8d53fb8c1 (patch) | |
tree | 2632f80554b159a3cd195d4afdc2be1bdc856c17 /Source/cmSystemTools.h | |
parent | 56838c115ed813711f3e5cbd5bef4646677e5467 (diff) | |
download | CMake-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.h | 3 |
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 |