summaryrefslogtreecommitdiff
path: root/Source/cmInstallFilesCommand.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-06-24 10:45:07 -0400
committerBrad King <brad.king@kitware.com>2014-06-24 13:12:02 -0400
commitec7cf7ea1311adaf6eb8dd1ab5c2aa8e3745339e (patch)
tree9dad5b456eea444fe1316f928bde9adf0a991bed /Source/cmInstallFilesCommand.cxx
parentabebcd235c94e05a20003430981a1b46b0fb7f95 (diff)
downloadcmake-ec7cf7ea1311adaf6eb8dd1ab5c2aa8e3745339e.tar.gz
install: Thread message level setting through internal API
Create a cmInstallGenerator::MessageLevel enumeration for future use in specifying install message verbosity. Thread values of the type through constructors and save the value as a member of cmInstallGenerator. Use only a "MessageDefault" value for now.
Diffstat (limited to 'Source/cmInstallFilesCommand.cxx')
-rw-r--r--Source/cmInstallFilesCommand.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/cmInstallFilesCommand.cxx b/Source/cmInstallFilesCommand.cxx
index 7eabbef074..1d648c9883 100644
--- a/Source/cmInstallFilesCommand.cxx
+++ b/Source/cmInstallFilesCommand.cxx
@@ -132,11 +132,13 @@ void cmInstallFilesCommand::CreateInstallGenerator() const
std::string no_component = this->Makefile->GetSafeDefinition(
"CMAKE_INSTALL_DEFAULT_COMPONENT_NAME");
std::vector<std::string> no_configurations;
+ cmInstallGenerator::MessageLevel message =
+ cmInstallGenerator::MessageDefault;
this->Makefile->AddInstallGenerator(
new cmInstallFilesGenerator(this->Makefile, this->Files,
destination.c_str(), false,
no_permissions, no_configurations,
- no_component.c_str(), no_rename));
+ no_component.c_str(), message, no_rename));
}