1 /*============================================================================
2 CMake - Cross Platform Makefile Generator
3 Copyright 2000-2009 Kitware, Inc., Insight Software Consortium
5 Distributed under the OSI-approved BSD License (the "License");
6 see accompanying file Copyright.txt for details.
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 cmInstallFilesGenerator_h
13 #define cmInstallFilesGenerator_h
15 #include "cmInstallGenerator.h"
17 /** \class cmInstallFilesGenerator
18 * \brief Generate file installation rules.
20 class cmInstallFilesGenerator: public cmInstallGenerator
23 cmInstallFilesGenerator(std::vector<std::string> const& files,
24 const char* dest, bool programs,
25 const char* file_permissions,
26 std::vector<std::string> const& configurations,
27 const char* component,
29 bool optional = false);
30 virtual ~cmInstallFilesGenerator();
33 virtual void GenerateScriptActions(std::ostream& os, Indent const& indent);
34 std::vector<std::string> Files;
36 std::string FilePermissions;