cmCPackTGZGenerator.h 1.0 KB

123456789101112131415161718192021222324252627282930313233343536
  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 cmCPackTGZGenerator_h
  11. #define cmCPackTGZGenerator_h
  12. #include "cmCPackArchiveGenerator.h"
  13. /** \class cmCPackTGZGenerator
  14. * \brief A generator for TGZ files
  15. *
  16. */
  17. class cmCPackTGZGenerator : public cmCPackArchiveGenerator
  18. {
  19. public:
  20. cmCPackTypeMacro(cmCPackTGZGenerator, cmCPackArchiveGenerator);
  21. /**
  22. * Construct generator
  23. */
  24. cmCPackTGZGenerator();
  25. virtual ~cmCPackTGZGenerator();
  26. protected:
  27. virtual const char* GetOutputExtension() { return ".tar.gz"; }
  28. };
  29. #endif