cmCPackTarCompressGenerator.h 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. /*============================================================================
  2. CMake - Cross Platform Makefile Generator
  3. Copyright 2000-2009 Kitware, Inc.
  4. Distributed under the OSI-approved BSD License (the "License");
  5. see accompanying file Copyright.txt for details.
  6. This software is distributed WITHOUT ANY WARRANTY; without even the
  7. implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  8. See the License for more information.
  9. ============================================================================*/
  10. #ifndef cmCPackTarCompressGenerator_h
  11. #define cmCPackTarCompressGenerator_h
  12. #include <cmConfigure.h>
  13. #include "cmCPackArchiveGenerator.h"
  14. #include "cmCPackGenerator.h"
  15. #include "cmTypeMacro.h"
  16. /** \class cmCPackTarCompressGenerator
  17. * \brief A generator for TarCompress files
  18. */
  19. class cmCPackTarCompressGenerator : public cmCPackArchiveGenerator
  20. {
  21. public:
  22. cmCPackTypeMacro(cmCPackTarCompressGenerator, cmCPackArchiveGenerator);
  23. /**
  24. * Construct generator
  25. */
  26. cmCPackTarCompressGenerator();
  27. ~cmCPackTarCompressGenerator() CM_OVERRIDE;
  28. protected:
  29. const char* GetOutputExtension() CM_OVERRIDE { return ".tar.Z"; }
  30. };
  31. #endif