diff options
author | Brad King <brad.king@kitware.com> | 2006-08-21 16:55:03 -0400 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2006-08-21 16:55:03 -0400 |
commit | bed79f6c6b47b2c0661da67799ec37fce8905c54 (patch) | |
tree | bdf2a3211652d8587c710d14dbb0f323fb40e617 /Source/cmInstallDirectoryGenerator.cxx | |
parent | f1ea7e88dc8322d4344e6b7acde6bf7bcffd7806 (diff) | |
download | cmake-bed79f6c6b47b2c0661da67799ec37fce8905c54.tar.gz |
ENH: Implemented INSTALL(DIRECTORY) command and added a test. Re-organized cmFileCommand's implementation of FILE(INSTALL) a bit to help out. This addresses bug#1694 and partially addresses bug#2691.
Diffstat (limited to 'Source/cmInstallDirectoryGenerator.cxx')
-rw-r--r-- | Source/cmInstallDirectoryGenerator.cxx | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/Source/cmInstallDirectoryGenerator.cxx b/Source/cmInstallDirectoryGenerator.cxx index 9ff09a6f82..aaf82358f2 100644 --- a/Source/cmInstallDirectoryGenerator.cxx +++ b/Source/cmInstallDirectoryGenerator.cxx @@ -25,10 +25,12 @@ cmInstallDirectoryGenerator const char* file_permissions, const char* dir_permissions, std::vector<std::string> const& configurations, - const char* component): + const char* component, + const char* literal_args): Directories(dirs), Destination(dest), FilePermissions(file_permissions), DirPermissions(dir_permissions), - Configurations(configurations), Component(component) + Configurations(configurations), Component(component), + LiteralArguments(literal_args) { } @@ -54,6 +56,6 @@ void cmInstallDirectoryGenerator::GenerateScript(std::ostream& os) this->FilePermissions.c_str(), this->DirPermissions.c_str(), this->Configurations, this->Component.c_str(), - no_rename); + no_rename, this->LiteralArguments.c_str()); } } |