Resync.
[CMakeLuaTailorHgBridge.git] / CMakeLua / Source / CPack / cmCPackCygwinSourceGenerator.h
blobc3362aaa8cdd2fc567b7c20f3d7651598781210c
1 /*=========================================================================
3 Program: CMake - Cross-Platform Makefile Generator
4 Module: $RCSfile: cmCPackCygwinSourceGenerator.h,v $
5 Language: C++
6 Date: $Date: 2007/10/31 12:50:17 $
7 Version: $Revision: 1.3 $
9 Copyright (c) 2002 Kitware, Inc. All rights reserved.
10 See Copyright.txt or http://www.cmake.org/HTML/Copyright.html for details.
12 This software is distributed WITHOUT ANY WARRANTY; without even
13 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
14 PURPOSE. See the above copyright notices for more information.
16 =========================================================================*/
18 #ifndef cmCPackCygwinSourceGenerator_h
19 #define cmCPackCygwinSourceGenerator_h
21 #include "cmCPackTarBZip2Generator.h"
23 /** \class cmCPackCygwinSourceGenerator
24 * \brief A generator for cygwin source files
26 class cmCPackCygwinSourceGenerator : public cmCPackTarBZip2Generator
28 public:
29 cmCPackTypeMacro(cmCPackCygwinSourceGenerator, cmCPackTarBZip2Generator);
31 /**
32 * Construct generator
34 cmCPackCygwinSourceGenerator();
35 virtual ~cmCPackCygwinSourceGenerator();
36 protected:
37 const char* GetPackagingInstallPrefix();
38 virtual int InitializeInternal();
39 int CompressFiles(const char* outFileName, const char* toplevel,
40 const std::vector<std::string>& files);
41 virtual const char* GetOutputExtension();
42 std::string InstallPrefix;
43 std::string OutputExtension;
46 #endif