diff options
author | Brad King <brad.king@kitware.com> | 2006-08-17 18:48:54 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2006-08-17 18:48:54 (GMT) |
commit | 8a72d43c176df44818154019248ad28d043f5dde (patch) | |
tree | 549347ba1e8ebb0fefec838132eff5fd98d74965 /Source/cmInstallTargetGenerator.cxx | |
parent | b642ffa7a82922d99475fa38e9a7f317e029ebf3 (diff) | |
download | CMake-8a72d43c176df44818154019248ad28d043f5dde.zip CMake-8a72d43c176df44818154019248ad28d043f5dde.tar.gz CMake-8a72d43c176df44818154019248ad28d043f5dde.tar.bz2 |
ENH: Started implementing INSTALL(DIRECTORY) command mode. This is not yet finished so it is undocumented and there is no test. These changes also separate the notions of file and directory permissions.
Diffstat (limited to 'Source/cmInstallTargetGenerator.cxx')
-rw-r--r-- | Source/cmInstallTargetGenerator.cxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Source/cmInstallTargetGenerator.cxx b/Source/cmInstallTargetGenerator.cxx index aba1960..a15ce3c 100644 --- a/Source/cmInstallTargetGenerator.cxx +++ b/Source/cmInstallTargetGenerator.cxx @@ -25,11 +25,11 @@ //---------------------------------------------------------------------------- cmInstallTargetGenerator ::cmInstallTargetGenerator(cmTarget& t, const char* dest, bool implib, - const char* permissions, + const char* file_permissions, std::vector<std::string> const& configurations, const char* component): Target(&t), Destination(dest), ImportLibrary(implib), - Permissions(permissions), Configurations(configurations), + FilePermissions(file_permissions), Configurations(configurations), Component(component) { this->Target->SetHaveInstallRule(true); @@ -158,9 +158,10 @@ void cmInstallTargetGenerator::GenerateScript(std::ostream& os) } // Write code to install the target file. + const char* no_dir_permissions = 0; this->AddInstallRule(os, destination.c_str(), type, fromFile.c_str(), this->ImportLibrary, properties, - this->Permissions.c_str(), + this->FilePermissions.c_str(), no_dir_permissions, this->Configurations, this->Component.c_str()); |