cmCPackCygwinSourceGenerator.h 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  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 cmCPackCygwinSourceGenerator_h
  11. #define cmCPackCygwinSourceGenerator_h
  12. #include "cmCPackTarBZip2Generator.h"
  13. /** \class cmCPackCygwinSourceGenerator
  14. * \brief A generator for cygwin source files
  15. */
  16. class cmCPackCygwinSourceGenerator : public cmCPackTarBZip2Generator
  17. {
  18. public:
  19. cmCPackTypeMacro(cmCPackCygwinSourceGenerator, cmCPackTarBZip2Generator);
  20. /**
  21. * Construct generator
  22. */
  23. cmCPackCygwinSourceGenerator();
  24. virtual ~cmCPackCygwinSourceGenerator();
  25. protected:
  26. const char* GetPackagingInstallPrefix();
  27. virtual int InitializeInternal();
  28. int PackageFiles();
  29. virtual const char* GetOutputExtension();
  30. std::string InstallPrefix;
  31. std::string OutputExtension;
  32. };
  33. #endif