diff options
author | Brad King <brad.king@kitware.com> | 2006-03-03 23:44:32 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2006-03-03 23:44:32 (GMT) |
commit | a2e136fd17b693765a4961220433bdf207930583 (patch) | |
tree | b785101e7a9fe7bed52a05e3d483216b500a4d70 /Source/cmLocalGenerator.cxx | |
parent | 5792dc8da8a567ece9fd231e9844a5b1cd30ddc2 (diff) | |
download | CMake-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/cmLocalGenerator.cxx')
-rw-r--r-- | Source/cmLocalGenerator.cxx | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx index ab2d31d..ba62ebb 100644 --- a/Source/cmLocalGenerator.cxx +++ b/Source/cmLocalGenerator.cxx @@ -1654,16 +1654,22 @@ cmLocalGenerator case cmTarget::INSTALL_FILES: { // Use a file install generator. + const char* no_permissions = ""; + const char* no_rename = ""; cmInstallFilesGenerator g(l->second.GetSourceLists(), - destination.c_str(), false); + destination.c_str(), false, + no_permissions, no_rename); g.Generate(os, config, configurationTypes); } break; case cmTarget::INSTALL_PROGRAMS: { // Use a file install generator. + const char* no_permissions = ""; + const char* no_rename = ""; cmInstallFilesGenerator g(l->second.GetSourceLists(), - destination.c_str(), true); + destination.c_str(), true, + no_permissions, no_rename); g.Generate(os, config, configurationTypes); } break; |