mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
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.
This commit is contained in:
@@ -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));
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user