packaging: Initial packaging
[platform/upstream/cmake.git] / Source / cmInstallScriptGenerator.h
1 /*============================================================================
2   CMake - Cross Platform Makefile Generator
3   Copyright 2000-2009 Kitware, Inc., Insight Software Consortium
4
5   Distributed under the OSI-approved BSD License (the "License");
6   see accompanying file Copyright.txt for details.
7
8   This software is distributed WITHOUT ANY WARRANTY; without even the
9   implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
10   See the License for more information.
11 ============================================================================*/
12 #ifndef cmInstallScriptGenerator_h
13 #define cmInstallScriptGenerator_h
14
15 #include "cmInstallGenerator.h"
16
17 /** \class cmInstallScriptGenerator
18  * \brief Generate target installation rules.
19  */
20 class cmInstallScriptGenerator: public cmInstallGenerator
21 {
22 public:
23   cmInstallScriptGenerator(const char* script, bool code,
24     const char* component);
25   virtual ~cmInstallScriptGenerator();
26
27 protected:
28   virtual void GenerateScript(std::ostream& os);
29   std::string Script;
30   bool Code;
31 };
32
33 #endif