Clarify documentation for if.
[cmake.git] / Source / cmInstallFilesGenerator.h
blobdf99ef37489addb2a2e990a4f43901a4fd7450f7
1 /*=========================================================================
3 Program: CMake - Cross-Platform Makefile Generator
4 Module: $RCSfile: cmInstallFilesGenerator.h,v $
5 Language: C++
6 Date: $Date: 2008-12-18 15:06:09 $
7 Version: $Revision: 1.9 $
9 Copyright (c) 2002 Kitware, Inc., Insight Consortium. All rights reserved.
10 See Copyright.txt or http://www.cmake.org/HTML/Copyright.html for details.
12 This software is distributed WITHOUT ANY WARRANTY; without even
13 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
14 PURPOSE. See the above copyright notices for more information.
16 =========================================================================*/
17 #ifndef cmInstallFilesGenerator_h
18 #define cmInstallFilesGenerator_h
20 #include "cmInstallGenerator.h"
22 /** \class cmInstallFilesGenerator
23 * \brief Generate file installation rules.
25 class cmInstallFilesGenerator: public cmInstallGenerator
27 public:
28 cmInstallFilesGenerator(std::vector<std::string> const& files,
29 const char* dest, bool programs,
30 const char* file_permissions,
31 std::vector<std::string> const& configurations,
32 const char* component,
33 const char* rename,
34 bool optional = false);
35 virtual ~cmInstallFilesGenerator();
37 protected:
38 virtual void GenerateScriptActions(std::ostream& os, Indent const& indent);
39 std::vector<std::string> Files;
40 bool Programs;
41 std::string FilePermissions;
42 std::string Rename;
43 bool Optional;
46 #endif