cmCPack7zGenerator.h 705 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 cmCPack7zGenerator_h
  4. #define cmCPack7zGenerator_h
  5. #include "cmConfigure.h" // IWYU pragma: keep
  6. #include "cmCPackArchiveGenerator.h"
  7. #include "cmCPackGenerator.h"
  8. /** \class cmCPack7zGenerator
  9. * \brief A generator for 7z files
  10. */
  11. class cmCPack7zGenerator : public cmCPackArchiveGenerator
  12. {
  13. public:
  14. cmCPackTypeMacro(cmCPack7zGenerator, cmCPackArchiveGenerator);
  15. /**
  16. * Construct generator
  17. */
  18. cmCPack7zGenerator();
  19. ~cmCPack7zGenerator() override;
  20. protected:
  21. const char* GetOutputExtension() override { return ".7z"; }
  22. };
  23. #endif