summaryrefslogtreecommitdiffstats
path: root/Source/cmSystemTools.h
diff options
context:
space:
mode:
authorBartosz Kosiorek <gang65@poczta.onet.pl>2019-03-08 22:20:52 (GMT)
committerKyle Edwards <kyle.edwards@kitware.com>2019-03-20 13:28:49 (GMT)
commitea9a2c175929f8276ef80ee85f81675fccd9c757 (patch)
tree2aafcc99a5d6f39fa5001017600923c7c0d91ba1 /Source/cmSystemTools.h
parent51f3a76ab23fda217e61f0d2a53272836897717f (diff)
downloadCMake-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.h9
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,