2016-09-27 19:01:08 +00:00
|
|
|
/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
|
|
|
|
file Copyright.txt or https://cmake.org/licensing for details. */
|
2014-07-09 22:21:36 +00:00
|
|
|
#ifndef cmCPack7zGenerator_h
|
|
|
|
#define cmCPack7zGenerator_h
|
|
|
|
|
2017-08-25 18:39:02 +00:00
|
|
|
#include "cmConfigure.h" // IWYU pragma: keep
|
2016-09-06 22:21:35 +00:00
|
|
|
|
2014-07-09 22:21:36 +00:00
|
|
|
#include "cmCPackArchiveGenerator.h"
|
2016-09-06 22:21:35 +00:00
|
|
|
#include "cmCPackGenerator.h"
|
2014-07-09 22:21:36 +00:00
|
|
|
|
|
|
|
/** \class cmCPack7zGenerator
|
|
|
|
* \brief A generator for 7z files
|
|
|
|
*/
|
|
|
|
class cmCPack7zGenerator : public cmCPackArchiveGenerator
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
cmCPackTypeMacro(cmCPack7zGenerator, cmCPackArchiveGenerator);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Construct generator
|
|
|
|
*/
|
|
|
|
cmCPack7zGenerator();
|
2017-09-15 13:56:26 +00:00
|
|
|
~cmCPack7zGenerator() override;
|
2014-07-09 22:21:36 +00:00
|
|
|
|
|
|
|
protected:
|
2017-09-15 13:56:26 +00:00
|
|
|
const char* GetOutputExtension() override { return ".7z"; }
|
2014-07-09 22:21:36 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|