CMake/Source/CPack/cmCPackTarBZip2Generator.h
2016-10-24 21:49:28 +02:00

29 lines
742 B
C++

/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
file Copyright.txt or https://cmake.org/licensing for details. */
#ifndef cmCPackTarBZip2Generator_h
#define cmCPackTarBZip2Generator_h
#include <cmConfigure.h>
#include "cmCPackArchiveGenerator.h"
#include "cmCPackGenerator.h"
/** \class cmCPackTarBZip2Generator
* \brief A generator for TarBZip2 files
*/
class cmCPackTarBZip2Generator : public cmCPackArchiveGenerator
{
public:
cmCPackTypeMacro(cmCPackTarBZip2Generator, cmCPackArchiveGenerator);
/**
* Construct generator
*/
cmCPackTarBZip2Generator();
~cmCPackTarBZip2Generator() CM_OVERRIDE;
protected:
const char* GetOutputExtension() CM_OVERRIDE { return ".tar.bz2"; }
};
#endif