diff options
author | Brad King <brad.king@kitware.com> | 2014-06-24 14:45:07 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-06-24 17:12:02 (GMT) |
commit | ec7cf7ea1311adaf6eb8dd1ab5c2aa8e3745339e (patch) | |
tree | 9dad5b456eea444fe1316f928bde9adf0a991bed /Source/cmInstallProgramsCommand.cxx | |
parent | abebcd235c94e05a20003430981a1b46b0fb7f95 (diff) | |
download | CMake-ec7cf7ea1311adaf6eb8dd1ab5c2aa8e3745339e.zip CMake-ec7cf7ea1311adaf6eb8dd1ab5c2aa8e3745339e.tar.gz CMake-ec7cf7ea1311adaf6eb8dd1ab5c2aa8e3745339e.tar.bz2 |
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/cmInstallProgramsCommand.cxx')
-rw-r--r-- | Source/cmInstallProgramsCommand.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/cmInstallProgramsCommand.cxx b/Source/cmInstallProgramsCommand.cxx index 597f7ee..18d7546 100644 --- a/Source/cmInstallProgramsCommand.cxx +++ b/Source/cmInstallProgramsCommand.cxx @@ -93,11 +93,13 @@ void cmInstallProgramsCommand::FinalPass() 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(), true, no_permissions, no_configurations, - no_component.c_str(), no_rename)); + no_component.c_str(), message, no_rename)); } /** |