Introduce "generator expressions" to add_test()
[cmake.git] / Source / cmInstallDirectoryGenerator.h
blob892fc7789eacf9540deaad973e6d4b749c230165
1 /*=========================================================================
3 Program: CMake - Cross-Platform Makefile Generator
4 Module: $RCSfile: cmInstallDirectoryGenerator.h,v $
5 Language: C++
6 Date: $Date: 2009-02-24 16:41:39 $
7 Version: $Revision: 1.6 $
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 cmInstallDirectoryGenerator_h
18 #define cmInstallDirectoryGenerator_h
20 #include "cmInstallGenerator.h"
22 /** \class cmInstallDirectoryGenerator
23 * \brief Generate directory installation rules.
25 class cmInstallDirectoryGenerator: public cmInstallGenerator
27 public:
28 cmInstallDirectoryGenerator(std::vector<std::string> const& dirs,
29 const char* dest,
30 const char* file_permissions,
31 const char* dir_permissions,
32 std::vector<std::string> const& configurations,
33 const char* component,
34 const char* literal_args,
35 bool optional = false);
36 virtual ~cmInstallDirectoryGenerator();
38 protected:
39 virtual void GenerateScriptActions(std::ostream& os, Indent const& indent);
40 std::vector<std::string> Directories;
41 std::string FilePermissions;
42 std::string DirPermissions;
43 std::string LiteralArguments;
44 bool Optional;
47 #endif