summaryrefslogtreecommitdiff
path: root/Source/cmInstallDirectoryGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2006-08-21 16:55:03 -0400
committerBrad King <brad.king@kitware.com>2006-08-21 16:55:03 -0400
commitbed79f6c6b47b2c0661da67799ec37fce8905c54 (patch)
treebdf2a3211652d8587c710d14dbb0f323fb40e617 /Source/cmInstallDirectoryGenerator.cxx
parentf1ea7e88dc8322d4344e6b7acde6bf7bcffd7806 (diff)
downloadcmake-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.cxx8
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());
}
}