summaryrefslogtreecommitdiffstats
path: root/Source/CPack/cmCPackArchiveGenerator.cxx
diff options
context:
space:
mode:
authorRegina Pfeifer <regina@mailbox.org>2019-08-28 20:05:45 (GMT)
committerBrad King <brad.king@kitware.com>2019-09-04 17:05:22 (GMT)
commite26f0e9dd58b839b880670d6000e7f1ebac1df94 (patch)
tree34ec16d79ceaaa538c5a645cf2c68676223f4104 /Source/CPack/cmCPackArchiveGenerator.cxx
parentf7085d7b0a0d4cced41669b498a3d03c4a1e65df (diff)
downloadCMake-e26f0e9dd58b839b880670d6000e7f1ebac1df94.zip
CMake-e26f0e9dd58b839b880670d6000e7f1ebac1df94.tar.gz
CMake-e26f0e9dd58b839b880670d6000e7f1ebac1df94.tar.bz2
CPack: Add generator for .tar.zst packages
Diffstat (limited to 'Source/CPack/cmCPackArchiveGenerator.cxx')
-rw-r--r--Source/CPack/cmCPackArchiveGenerator.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/CPack/cmCPackArchiveGenerator.cxx b/Source/CPack/cmCPackArchiveGenerator.cxx
index e9338f2..1271b08 100644
--- a/Source/CPack/cmCPackArchiveGenerator.cxx
+++ b/Source/CPack/cmCPackArchiveGenerator.cxx
@@ -46,6 +46,12 @@ cmCPackGenerator* cmCPackArchiveGenerator::CreateTZGenerator()
".tar.Z");
}
+cmCPackGenerator* cmCPackArchiveGenerator::CreateTZSTGenerator()
+{
+ return new cmCPackArchiveGenerator(cmArchiveWrite::CompressZstd, "paxr",
+ ".tar.zst");
+}
+
cmCPackGenerator* cmCPackArchiveGenerator::CreateZIPGenerator()
{
return new cmCPackArchiveGenerator(cmArchiveWrite::CompressNone, "zip",