diff options
author | Brad King <brad.king@kitware.com> | 2006-03-30 18:33:48 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2006-03-30 18:33:48 (GMT) |
commit | 08b14163ee2cc9cced08d80b2c81b29c83072229 (patch) | |
tree | aabd429ef1d4d93a39429f192e5b56b5b0feb6b4 /Source/cmInstallFilesGenerator.cxx | |
parent | 3cf3fc510febc42af0db07c71c7c3925724b3201 (diff) | |
download | CMake-08b14163ee2cc9cced08d80b2c81b29c83072229.zip CMake-08b14163ee2cc9cced08d80b2c81b29c83072229.tar.gz CMake-08b14163ee2cc9cced08d80b2c81b29c83072229.tar.bz2 |
ENH: Added named component installation implementation. Installation behavior should be unchanged unless -DCOMPONENT=<name> is specified when cmake_install.cmake is invoked.
Diffstat (limited to 'Source/cmInstallFilesGenerator.cxx')
-rw-r--r-- | Source/cmInstallFilesGenerator.cxx | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/Source/cmInstallFilesGenerator.cxx b/Source/cmInstallFilesGenerator.cxx index ff32fe2..bf0d830 100644 --- a/Source/cmInstallFilesGenerator.cxx +++ b/Source/cmInstallFilesGenerator.cxx @@ -22,9 +22,11 @@ cmInstallFilesGenerator ::cmInstallFilesGenerator(std::vector<std::string> const& files, const char* dest, bool programs, - const char* permissions, const char* rename): + const char* permissions, + const char* component, + const char* rename): Files(files), Destination(dest), Programs(programs), - Permissions(permissions), Rename(rename) + Permissions(permissions), Component(component), Rename(rename) { } @@ -48,6 +50,8 @@ void cmInstallFilesGenerator::GenerateScript(std::ostream& os) ? cmTarget::INSTALL_PROGRAMS : cmTarget::INSTALL_FILES), fi->c_str(), not_optional, no_properties, - this->Permissions.c_str(), this->Rename.c_str()); + this->Permissions.c_str(), + this->Component.c_str(), + this->Rename.c_str()); } } |