summaryrefslogtreecommitdiffstats
path: root/Source/cmInstallFilesGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2006-05-05 18:57:19 (GMT)
committerBrad King <brad.king@kitware.com>2006-05-05 18:57:19 (GMT)
commit50a0f71120afe28c205bacab5a1350eb04815f3d (patch)
tree7f3473d0e452b39c63e59763cca41167f3483a26 /Source/cmInstallFilesGenerator.cxx
parent059320a5774fcaaced1a6155fec7dd5816bb1f75 (diff)
downloadCMake-50a0f71120afe28c205bacab5a1350eb04815f3d.zip
CMake-50a0f71120afe28c205bacab5a1350eb04815f3d.tar.gz
CMake-50a0f71120afe28c205bacab5a1350eb04815f3d.tar.bz2
ENH: Added CONFIGURATIONS option to INSTALL command to allow per-configuration install rules.
Diffstat (limited to 'Source/cmInstallFilesGenerator.cxx')
-rw-r--r--Source/cmInstallFilesGenerator.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/cmInstallFilesGenerator.cxx b/Source/cmInstallFilesGenerator.cxx
index bf0d830..7990b2a 100644
--- a/Source/cmInstallFilesGenerator.cxx
+++ b/Source/cmInstallFilesGenerator.cxx
@@ -23,10 +23,12 @@ cmInstallFilesGenerator
::cmInstallFilesGenerator(std::vector<std::string> const& files,
const char* dest, bool programs,
const char* permissions,
+ std::vector<std::string> const& configurations,
const char* component,
const char* rename):
Files(files), Destination(dest), Programs(programs),
- Permissions(permissions), Component(component), Rename(rename)
+ Permissions(permissions), Configurations(configurations),
+ Component(component), Rename(rename)
{
}
@@ -51,6 +53,7 @@ void cmInstallFilesGenerator::GenerateScript(std::ostream& os)
: cmTarget::INSTALL_FILES), fi->c_str(),
not_optional, no_properties,
this->Permissions.c_str(),
+ this->Configurations,
this->Component.c_str(),
this->Rename.c_str());
}