2016-09-27 22:01:08 +03:00
|
|
|
/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
|
|
|
|
file Copyright.txt or https://cmake.org/licensing for details. */
|
2014-07-10 02:21:36 +04:00
|
|
|
#ifndef cmCPackTXZGenerator_h
|
|
|
|
#define cmCPackTXZGenerator_h
|
|
|
|
|
2016-09-07 01:21:35 +03:00
|
|
|
#include <cmConfigure.h>
|
|
|
|
|
2014-07-10 02:21:36 +04:00
|
|
|
#include "cmCPackArchiveGenerator.h"
|
2016-09-07 01:21:35 +03:00
|
|
|
#include "cmCPackGenerator.h"
|
|
|
|
#include "cmTypeMacro.h"
|
2014-07-10 02:21:36 +04:00
|
|
|
|
|
|
|
/** \class cmCPackTXZGenerator
|
|
|
|
* \brief A generator for TXZ files
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
class cmCPackTXZGenerator : public cmCPackArchiveGenerator
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
cmCPackTypeMacro(cmCPackTXZGenerator, cmCPackArchiveGenerator);
|
|
|
|
/**
|
|
|
|
* Construct generator
|
|
|
|
*/
|
|
|
|
cmCPackTXZGenerator();
|
2016-06-27 22:25:27 +03:00
|
|
|
~cmCPackTXZGenerator() CM_OVERRIDE;
|
2016-05-16 17:34:04 +03:00
|
|
|
|
2014-07-10 02:21:36 +04:00
|
|
|
protected:
|
2016-06-27 22:25:27 +03:00
|
|
|
const char* GetOutputExtension() CM_OVERRIDE { return ".tar.xz"; }
|
2014-07-10 02:21:36 +04:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|