diff options
author | Bartosz Kosiorek <gang65@poczta.onet.pl> | 2019-03-08 22:20:52 (GMT) |
---|---|---|
committer | Kyle Edwards <kyle.edwards@kitware.com> | 2019-03-20 13:28:49 (GMT) |
commit | ea9a2c175929f8276ef80ee85f81675fccd9c757 (patch) | |
tree | 2aafcc99a5d6f39fa5001017600923c7c0d91ba1 /Source/cmSystemTools.h | |
parent | 51f3a76ab23fda217e61f0d2a53272836897717f (diff) | |
download | CMake-ea9a2c175929f8276ef80ee85f81675fccd9c757.zip CMake-ea9a2c175929f8276ef80ee85f81675fccd9c757.tar.gz CMake-ea9a2c175929f8276ef80ee85f81675fccd9c757.tar.bz2 |
cmake: tar: Parse 'cmake -E tar' arguments
Diffstat (limited to 'Source/cmSystemTools.h')
-rw-r--r-- | Source/cmSystemTools.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Source/cmSystemTools.h b/Source/cmSystemTools.h index 60e8c18..352762c 100644 --- a/Source/cmSystemTools.h +++ b/Source/cmSystemTools.h @@ -412,6 +412,14 @@ public: /** Setup the environment to enable VS 8 IDE output. */ static void EnableVSConsoleOutput(); + enum cmTarAction + { + TarActionCreate, + TarActionList, + TarActionExtract, + TarActionNone + }; + /** Create tar */ enum cmTarCompression { @@ -420,6 +428,7 @@ public: TarCompressXZ, TarCompressNone }; + static bool ListTar(const char* outFileName, bool verbose); static bool CreateTar(const char* outFileName, const std::vector<std::string>& files, |