~ubuntu-branches/ubuntu/jaunty/cmake/jaunty-security

« back to all changes in this revision

Viewing changes to Source/cmInstallFilesGenerator.h

  • Committer: Bazaar Package Importer
  • Author(s): A. Maitland Bottoms
  • Date: 2006-06-18 16:34:11 UTC
  • mfrom: (1.4.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20060618163411-pi234s3v6jwlcmof
Tags: 2.4.2-1
* New upstream release (Closes: #338324)
* Put cmake .vim files into /usr/share/vim/addons/plugin/
  where they can be used. (Closes: #366663)
* Install cmake-mode.el so it can be used. (Closes: #366664)
* Ensure cmake FindKDE locates KDE libraries on Debian
  based distributions.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*=========================================================================
 
2
 
 
3
  Program:   CMake - Cross-Platform Makefile Generator
 
4
  Module:    $RCSfile: cmInstallFilesGenerator.h,v $
 
5
  Language:  C++
 
6
  Date:      $Date: 2006/05/07 14:55:38 $
 
7
  Version:   $Revision: 1.3.2.1 $
 
8
 
 
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.
 
11
 
 
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.
 
15
 
 
16
=========================================================================*/
 
17
#ifndef cmInstallFilesGenerator_h
 
18
#define cmInstallFilesGenerator_h
 
19
 
 
20
#include "cmInstallGenerator.h"
 
21
 
 
22
/** \class cmInstallFilesGenerator
 
23
 * \brief Generate file installation rules.
 
24
 */
 
25
class cmInstallFilesGenerator: public cmInstallGenerator
 
26
{
 
27
public:
 
28
  cmInstallFilesGenerator(std::vector<std::string> const& files,
 
29
                          const char* dest, bool programs,
 
30
                          const char* permissions,
 
31
                          std::vector<std::string> const& configurations,
 
32
                          const char* component,
 
33
                          const char* rename);
 
34
  virtual ~cmInstallFilesGenerator();
 
35
 
 
36
protected:
 
37
  virtual void GenerateScript(std::ostream& os);
 
38
  std::vector<std::string> Files;
 
39
  std::string Destination;
 
40
  bool Programs;
 
41
  std::string Permissions;
 
42
  std::vector<std::string> Configurations;
 
43
  std::string Component;
 
44
  std::string Rename;
 
45
};
 
46
 
 
47
#endif