cmCPackTarCompressGenerator.h 789 B

1234567891011121314151617181920212223242526272829
  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>
  6. #include "cmCPackArchiveGenerator.h"
  7. #include "cmCPackGenerator.h"
  8. #include "cmTypeMacro.h"
  9. /** \class cmCPackTarCompressGenerator
  10. * \brief A generator for TarCompress files
  11. */
  12. class cmCPackTarCompressGenerator : public cmCPackArchiveGenerator
  13. {
  14. public:
  15. cmCPackTypeMacro(cmCPackTarCompressGenerator, cmCPackArchiveGenerator);
  16. /**
  17. * Construct generator
  18. */
  19. cmCPackTarCompressGenerator();
  20. ~cmCPackTarCompressGenerator() CM_OVERRIDE;
  21. protected:
  22. const char* GetOutputExtension() CM_OVERRIDE { return ".tar.Z"; }
  23. };
  24. #endif