diff options
author | Regina Pfeifer <regina@mailbox.org> | 2019-08-28 19:36:38 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-09-04 17:05:22 (GMT) |
commit | f7085d7b0a0d4cced41669b498a3d03c4a1e65df (patch) | |
tree | 51374aad15cc332b0337155ed3ab3c9d9c8f5d1b /Source/CPack/cmCPackSTGZGenerator.h | |
parent | 787765d4025cd1caa842d9bcfcf6cd71222b9d44 (diff) | |
download | CMake-f7085d7b0a0d4cced41669b498a3d03c4a1e65df.zip CMake-f7085d7b0a0d4cced41669b498a3d03c4a1e65df.tar.gz CMake-f7085d7b0a0d4cced41669b498a3d03c4a1e65df.tar.bz2 |
cmCPackArchiveGenerator: Code cleanup
Diffstat (limited to 'Source/CPack/cmCPackSTGZGenerator.h')
-rw-r--r-- | Source/CPack/cmCPackSTGZGenerator.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Source/CPack/cmCPackSTGZGenerator.h b/Source/CPack/cmCPackSTGZGenerator.h index 9cf184b..55e4779 100644 --- a/Source/CPack/cmCPackSTGZGenerator.h +++ b/Source/CPack/cmCPackSTGZGenerator.h @@ -5,8 +5,8 @@ #include "cmConfigure.h" // IWYU pragma: keep +#include "cmCPackArchiveGenerator.h" #include "cmCPackGenerator.h" -#include "cmCPackTGZGenerator.h" #include <iosfwd> @@ -14,10 +14,10 @@ * \brief A generator for Self extractable TGZ files * */ -class cmCPackSTGZGenerator : public cmCPackTGZGenerator +class cmCPackSTGZGenerator : public cmCPackArchiveGenerator { public: - cmCPackTypeMacro(cmCPackSTGZGenerator, cmCPackTGZGenerator); + cmCPackTypeMacro(cmCPackSTGZGenerator, cmCPackArchiveGenerator); /** * Construct generator @@ -29,7 +29,6 @@ protected: int PackageFiles() override; int InitializeInternal() override; int GenerateHeader(std::ostream* os) override; - const char* GetOutputExtension() override { return ".sh"; } }; #endif |