• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1CMAKE_INSTALL_MESSAGE
2---------------------
3
4.. versionadded:: 3.1
5
6Specify verbosity of installation script code generated by the
7:command:`install` command (using the :command:`file(INSTALL)` command).
8For paths that are newly installed or updated, installation
9may print lines like::
10
11  -- Installing: /some/destination/path
12
13For paths that are already up to date, installation may print
14lines like::
15
16  -- Up-to-date: /some/destination/path
17
18The ``CMAKE_INSTALL_MESSAGE`` variable may be set to control
19which messages are printed:
20
21``ALWAYS``
22  Print both ``Installing`` and ``Up-to-date`` messages.
23
24``LAZY``
25  Print ``Installing`` but not ``Up-to-date`` messages.
26
27``NEVER``
28  Print neither ``Installing`` nor ``Up-to-date`` messages.
29
30Other values have undefined behavior and may not be diagnosed.
31
32If this variable is not set, the default behavior is ``ALWAYS``.
33