cmCPackTarBZip2Generator.h 1.1 KB

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