summaryrefslogtreecommitdiffstats
path: root/Source/cmInstallFilesGenerator.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2006-03-03 23:44:32 (GMT)
committerBrad King <brad.king@kitware.com>2006-03-03 23:44:32 (GMT)
commita2e136fd17b693765a4961220433bdf207930583 (patch)
treeb785101e7a9fe7bed52a05e3d483216b500a4d70 /Source/cmInstallFilesGenerator.h
parent5792dc8da8a567ece9fd231e9844a5b1cd30ddc2 (diff)
downloadCMake-a2e136fd17b693765a4961220433bdf207930583.zip
CMake-a2e136fd17b693765a4961220433bdf207930583.tar.gz
CMake-a2e136fd17b693765a4961220433bdf207930583.tar.bz2
ENH: Added PERMISSIONS and RENAME options to the INSTALL command's FILES and PROGRAMS mode, and corresponding support to FILE(INSTALL). Default permissions for shared libraries on non-Windows/non-OSX platforms no longer has the execute bit set.
Diffstat (limited to 'Source/cmInstallFilesGenerator.h')
-rw-r--r--Source/cmInstallFilesGenerator.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/cmInstallFilesGenerator.h b/Source/cmInstallFilesGenerator.h
index 9d35c73..dc2094f 100644
--- a/Source/cmInstallFilesGenerator.h
+++ b/Source/cmInstallFilesGenerator.h
@@ -26,7 +26,8 @@ class cmInstallFilesGenerator: public cmInstallGenerator
{
public:
cmInstallFilesGenerator(std::vector<std::string> const& files,
- const char* dest, bool programs);
+ const char* dest, bool programs,
+ const char* permissions, const char* rename);
virtual ~cmInstallFilesGenerator();
protected:
@@ -34,6 +35,8 @@ protected:
std::vector<std::string> Files;
std::string Destination;
bool Programs;
+ std::string Permissions;
+ std::string Rename;
};
#endif