mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-23 07:28:51 -06:00
install: Add CMAKE_INSTALL_MESSAGE variable (#13761)
Create a variable to allow users to control which installation messages are printed. In particular, provide a "LAZY" setting that prints "Installing" messages but not "Up-to-date" messages. This is desirable for incremental re-installations. Suggested-by: J Decker <d3ck0r@gmail.com>
This commit is contained in:
@@ -94,7 +94,7 @@ void cmInstallProgramsCommand::FinalPass()
|
||||
"CMAKE_INSTALL_DEFAULT_COMPONENT_NAME");
|
||||
std::vector<std::string> no_configurations;
|
||||
cmInstallGenerator::MessageLevel message =
|
||||
cmInstallGenerator::MessageDefault;
|
||||
cmInstallGenerator::SelectMessageLevel(this->Makefile);
|
||||
this->Makefile->AddInstallGenerator(
|
||||
new cmInstallFilesGenerator(this->Makefile, this->Files,
|
||||
destination.c_str(), true,
|
||||
|
||||
Reference in New Issue
Block a user