cmCPackCygwinSourceGenerator.h 1.4 KB

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