summaryrefslogtreecommitdiffstats
path: root/Source/cmSystemTools.h
diff options
context:
space:
mode:
authorKyle Edwards <kyle.edwards@kitware.com>2019-03-21 14:50:07 (GMT)
committerKitware Robot <kwrobot@kitware.com>2019-03-21 14:50:38 (GMT)
commitfac093802a85cad720efe9e42957014b3b5c5561 (patch)
tree88e80bdb596deb06889989c799a4a17524fc06f3 /Source/cmSystemTools.h
parente09c606eb47c13bd435892625943e95bb9452996 (diff)
parentea9a2c175929f8276ef80ee85f81675fccd9c757 (diff)
downloadCMake-fac093802a85cad720efe9e42957014b3b5c5561.zip
CMake-fac093802a85cad720efe9e42957014b3b5c5561.tar.gz
CMake-fac093802a85cad720efe9e42957014b3b5c5561.tar.bz2
Merge topic 'tar-improve-error-handling'
ea9a2c1759 cmake: tar: Parse 'cmake -E tar' arguments Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3081
Diffstat (limited to 'Source/cmSystemTools.h')
-rw-r--r--Source/cmSystemTools.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/Source/cmSystemTools.h b/Source/cmSystemTools.h
index b5f65c7..0b75025 100644
--- a/Source/cmSystemTools.h
+++ b/Source/cmSystemTools.h
@@ -406,6 +406,14 @@ public:
/** Setup the environment to enable VS 8 IDE output. */
static void EnableVSConsoleOutput();
+ enum cmTarAction
+ {
+ TarActionCreate,
+ TarActionList,
+ TarActionExtract,
+ TarActionNone
+ };
+
/** Create tar */
enum cmTarCompression
{
@@ -414,6 +422,7 @@ public:
TarCompressXZ,
TarCompressNone
};
+
static bool ListTar(const char* outFileName, bool verbose);
static bool CreateTar(const char* outFileName,
const std::vector<std::string>& files,