cmInstallScriptGenerator.h 1.0 KB

123456789101112131415161718192021222324252627282930313233
  1. /*============================================================================
  2. CMake - Cross Platform Makefile Generator
  3. Copyright 2000-2009 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 cmInstallScriptGenerator_h
  11. #define cmInstallScriptGenerator_h
  12. #include "cmInstallGenerator.h"
  13. /** \class cmInstallScriptGenerator
  14. * \brief Generate target installation rules.
  15. */
  16. class cmInstallScriptGenerator: public cmInstallGenerator
  17. {
  18. public:
  19. cmInstallScriptGenerator(const char* script, bool code,
  20. const char* component);
  21. virtual ~cmInstallScriptGenerator();
  22. protected:
  23. virtual void GenerateScript(std::ostream& os);
  24. std::string Script;
  25. bool Code;
  26. };
  27. #endif