summaryrefslogtreecommitdiffstats
path: root/Source/CPack/cmCPackTXZGenerator.cxx
diff options
context:
space:
mode:
authorDaniel Pfeifer <daniel@pfeifer-mail.de>2014-07-09 22:21:36 (GMT)
committerBrad King <brad.king@kitware.com>2014-07-29 13:48:41 (GMT)
commitf931a18c334bd471c22f7af4e580b2433ba14a69 (patch)
tree671a48024965cee44f98369de901da6c9957f327 /Source/CPack/cmCPackTXZGenerator.cxx
parent38065563b6fb0093004d0c89b5de0f82a76b5a31 (diff)
downloadCMake-f931a18c334bd471c22f7af4e580b2433ba14a69.zip
CMake-f931a18c334bd471c22f7af4e580b2433ba14a69.tar.gz
CMake-f931a18c334bd471c22f7af4e580b2433ba14a69.tar.bz2
CPack: add generators for .7z and .tar.xz (#13072, #14519)
Diffstat (limited to 'Source/CPack/cmCPackTXZGenerator.cxx')
-rw-r--r--Source/CPack/cmCPackTXZGenerator.cxx25
1 files changed, 25 insertions, 0 deletions
diff --git a/Source/CPack/cmCPackTXZGenerator.cxx b/Source/CPack/cmCPackTXZGenerator.cxx
new file mode 100644
index 0000000..ecfc177
--- /dev/null
+++ b/Source/CPack/cmCPackTXZGenerator.cxx
@@ -0,0 +1,25 @@
+/*============================================================================
+ CMake - Cross Platform Makefile Generator
+ Copyright 2000-2009 Kitware, Inc., Insight Software Consortium
+
+ Distributed under the OSI-approved BSD License (the "License");
+ see accompanying file Copyright.txt for details.
+
+ This software is distributed WITHOUT ANY WARRANTY; without even the
+ implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ See the License for more information.
+============================================================================*/
+
+#include "cmCPackTXZGenerator.h"
+
+//----------------------------------------------------------------------
+cmCPackTXZGenerator::cmCPackTXZGenerator()
+ :cmCPackArchiveGenerator(cmArchiveWrite::CompressXZ,
+ cmArchiveWrite::TypeTAR)
+{
+}
+
+//----------------------------------------------------------------------
+cmCPackTXZGenerator::~cmCPackTXZGenerator()
+{
+}