cmCPackTarCompressGenerator.h 779 B

12345678910111213141516171819202122232425262728
  1. /* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
  2. file Copyright.txt or https://cmake.org/licensing for details. */
  3. #ifndef cmCPackTarCompressGenerator_h
  4. #define cmCPackTarCompressGenerator_h
  5. #include "cmConfigure.h" // IWYU pragma: keep
  6. #include "cmCPackArchiveGenerator.h"
  7. #include "cmCPackGenerator.h"
  8. /** \class cmCPackTarCompressGenerator
  9. * \brief A generator for TarCompress files
  10. */
  11. class cmCPackTarCompressGenerator : public cmCPackArchiveGenerator
  12. {
  13. public:
  14. cmCPackTypeMacro(cmCPackTarCompressGenerator, cmCPackArchiveGenerator);
  15. /**
  16. * Construct generator
  17. */
  18. cmCPackTarCompressGenerator();
  19. ~cmCPackTarCompressGenerator() override;
  20. protected:
  21. const char* GetOutputExtension() override { return ".tar.Z"; }
  22. };
  23. #endif