diff options
author | Brad King <brad.king@kitware.com> | 2007-07-02 18:56:57 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2007-07-02 18:56:57 (GMT) |
commit | 7f29f8966d672a2f8ef50b2249f6d826d1702bdc (patch) | |
tree | 3508ba83985e80094c6f68518dc49cdf6f9f910c /Source/cmInstallFilesGenerator.cxx | |
parent | fda7753f5ccac7ed2d3c9822e55cebd42c4467d2 (diff) | |
download | CMake-7f29f8966d672a2f8ef50b2249f6d826d1702bdc.zip CMake-7f29f8966d672a2f8ef50b2249f6d826d1702bdc.tar.gz CMake-7f29f8966d672a2f8ef50b2249f6d826d1702bdc.tar.bz2 |
ENH: Further cleanup of installation script generation. The per-component and per-configuration testing is now done in cmake code instead of in the FILE(INSTALL) command. The generation of the cmake code to do these tests is centralized in cmInstallGenerator. Old-style shared library versioning and component/config support code has been removed from FILE(INSTALL). This commit is surrounded by the tags CMake-InstallGeneratorCleanup2-pre and CMake-InstallGeneratorCleanup2-post.
Diffstat (limited to 'Source/cmInstallFilesGenerator.cxx')
-rw-r--r-- | Source/cmInstallFilesGenerator.cxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/Source/cmInstallFilesGenerator.cxx b/Source/cmInstallFilesGenerator.cxx index d487aba..ef7eac7 100644 --- a/Source/cmInstallFilesGenerator.cxx +++ b/Source/cmInstallFilesGenerator.cxx @@ -27,9 +27,10 @@ cmInstallFilesGenerator const char* component, const char* rename, bool optional): - cmInstallGenerator(dest), Files(files), Programs(programs), - FilePermissions(file_permissions), Configurations(configurations), - Component(component), Rename(rename), Optional(optional) + cmInstallGenerator(dest, configurations, component), + Files(files), Programs(programs), + FilePermissions(file_permissions), + Rename(rename), Optional(optional) { } @@ -40,7 +41,8 @@ cmInstallFilesGenerator } //---------------------------------------------------------------------------- -void cmInstallFilesGenerator::GenerateScript(std::ostream& os) +void cmInstallFilesGenerator::GenerateScriptActions(std::ostream& os, + Indent const& indent) { // Write code to install the files. const char* no_properties = 0; @@ -52,7 +54,5 @@ void cmInstallFilesGenerator::GenerateScript(std::ostream& os) this->Files, this->Optional, no_properties, this->FilePermissions.c_str(), no_dir_permissions, - this->Configurations, - this->Component.c_str(), - this->Rename.c_str()); + this->Rename.c_str(), 0, indent); } |