CMAKE_INSTALL_MESSAGE.rst 848 B

123456789101112131415161718192021222324252627282930
  1. CMAKE_INSTALL_MESSAGE
  2. ---------------------
  3. Specify verbosity of installation script code generated by the
  4. :command:`install` command (using the :command:`file(INSTALL)` command).
  5. For paths that are newly installed or updated, installation
  6. may print lines like::
  7. -- Installing: /some/destination/path
  8. For paths that are already up to date, installation may print
  9. lines like::
  10. -- Up-to-date: /some/destination/path
  11. The ``CMAKE_INSTALL_MESSAGE`` variable may be set to control
  12. which messages are printed:
  13. ``ALWAYS``
  14. Print both ``Installing`` and ``Up-to-date`` messages.
  15. ``LAZY``
  16. Print ``Installing`` but not ``Up-to-date`` messages.
  17. ``NEVER``
  18. Print neither ``Installing`` nor ``Up-to-date`` messages.
  19. Other values have undefined behavior and may not be diagnosed.
  20. If this variable is not set, the default behavior is ``ALWAYS``.