CMAKE_INSTALL_MESSAGE
Specify verbosity of installation script code generated by the install()
command (using the file(INSTALL)
command). For paths that are newly installed or updated, installation may print lines like:
-- Installing: /some/destination/path
For paths that are already up to date, installation may print lines like:
-- Up-to-date: /some/destination/path
The CMAKE_INSTALL_MESSAGE
variable may be set to control which messages are printed:
-
ALWAYS
-
Print both
Installing
andUp-to-date
messages. -
LAZY
-
Print
Installing
but notUp-to-date
messages. -
NEVER
-
Print neither
Installing
norUp-to-date
messages.
Other values have undefined behavior and may not be diagnosed.
If this variable is not set, the default behavior is ALWAYS
.
© 2000–2020 Kitware, Inc. and Contributors
Licensed under the BSD 3-clause License.
https://cmake.org/cmake/help/v3.17/variable/CMAKE_INSTALL_MESSAGE.html