cmake/Source/CPack/cmCPack7zGenerator.h

30 lines
690 B
C
Raw Normal View History

2016-10-30 18:24:19 +01:00
/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
file Copyright.txt or https://cmake.org/licensing for details. */
2015-04-27 22:25:09 +02:00
#ifndef cmCPack7zGenerator_h
#define cmCPack7zGenerator_h
2016-10-30 18:24:19 +01:00
#include <cmConfigure.h>
2015-04-27 22:25:09 +02:00
#include "cmCPackArchiveGenerator.h"
2016-10-30 18:24:19 +01:00
#include "cmCPackGenerator.h"
2015-04-27 22:25:09 +02:00
/** \class cmCPack7zGenerator
* \brief A generator for 7z files
*/
class cmCPack7zGenerator : public cmCPackArchiveGenerator
{
public:
cmCPackTypeMacro(cmCPack7zGenerator, cmCPackArchiveGenerator);
/**
* Construct generator
*/
cmCPack7zGenerator();
2016-10-30 18:24:19 +01:00
~cmCPack7zGenerator() CM_OVERRIDE;
2015-04-27 22:25:09 +02:00
protected:
2016-10-30 18:24:19 +01:00
const char* GetOutputExtension() CM_OVERRIDE { return ".7z"; }
2015-04-27 22:25:09 +02:00
};
2010-06-23 01:18:35 +03:00
#endif