cmCPackPropertiesGenerator.h 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. /*============================================================================
  2. CMake - Cross Platform Makefile Generator
  3. Copyright 2014 Kitware, Inc., Insight Software Consortium
  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 cmCPackPropertiesGenerator_h
  11. #define cmCPackPropertiesGenerator_h
  12. #include "cmScriptGenerator.h"
  13. #include "cmInstalledFile.h"
  14. /** \class cmCPackPropertiesGenerator
  15. * \brief Support class for generating CPackProperties.cmake.
  16. *
  17. */
  18. class cmCPackPropertiesGenerator: public cmScriptGenerator
  19. {
  20. public:
  21. cmCPackPropertiesGenerator(
  22. cmMakefile* mf,
  23. cmInstalledFile const& installedFile,
  24. std::vector<std::string> const& configurations);
  25. protected:
  26. virtual void GenerateScriptForConfig(std::ostream& os,
  27. const std::string& config, Indent const& indent);
  28. cmMakefile* Makefile;
  29. cmInstalledFile const& InstalledFile;
  30. };
  31. #endif