diff options
author | André Klitzing <aklitzing@gmail.com> | 2017-07-08 20:57:45 (GMT) |
---|---|---|
committer | André Klitzing <aklitzing@gmail.com> | 2017-07-14 17:49:45 (GMT) |
commit | c4de0a25ac8b7bb94205e24b5557331ed80d79b8 (patch) | |
tree | e77fbbd7688a8a4a6a6b11df4e482d737fb139d3 /Source/cmcmd.h | |
parent | c4647d84321f4a7b52301237394087065f5df33c (diff) | |
download | CMake-c4de0a25ac8b7bb94205e24b5557331ed80d79b8.zip CMake-c4de0a25ac8b7bb94205e24b5557331ed80d79b8.tar.gz CMake-c4de0a25ac8b7bb94205e24b5557331ed80d79b8.tar.bz2 |
Add sha1sum, sha224sum, sha256sum, sha384sum and sha512sum to command mode
Diffstat (limited to 'Source/cmcmd.h')
-rw-r--r-- | Source/cmcmd.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmcmd.h b/Source/cmcmd.h index 929f1ae..faac1d2 100644 --- a/Source/cmcmd.h +++ b/Source/cmcmd.h @@ -4,6 +4,7 @@ #define cmcmd_h #include "cmConfigure.h" // IWYU pragma: keep +#include "cmCryptoHash.h" #include <string> #include <vector> @@ -18,6 +19,8 @@ public: static int ExecuteCMakeCommand(std::vector<std::string>&); protected: + static int HashSumFile(std::vector<std::string>& args, + cmCryptoHash::Algo algo); static int SymlinkLibrary(std::vector<std::string>& args); static int SymlinkExecutable(std::vector<std::string>& args); static bool SymlinkInternal(std::string const& file, |