mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-05 21:31:08 -06:00
message: Add new CMAKE_MESSAGE_LOG_LEVEL variable
This commit is contained in:
15
Help/variable/CMAKE_MESSAGE_LOG_LEVEL.rst
Normal file
15
Help/variable/CMAKE_MESSAGE_LOG_LEVEL.rst
Normal file
@@ -0,0 +1,15 @@
|
||||
CMAKE_MESSAGE_LOG_LEVEL
|
||||
-----------------------
|
||||
|
||||
When set, this variable specifies the logging level used by the
|
||||
:command:`message` command. Valid values are the same as those for the
|
||||
``--log-level`` command line option of the :manual:`cmake(1)` program.
|
||||
If this variable is set and the ``--log-level`` command line option is
|
||||
given, the command line option takes precedence.
|
||||
|
||||
The main advantage to using this variable is to make a log level persist
|
||||
between CMake runs. Setting it as a cache variable will ensure that
|
||||
subsequent CMake runs will continue to use the chosen log level.
|
||||
|
||||
Projects should not set this variable, it is intended for users so that
|
||||
they may control the log level according to their own needs.
|
||||
Reference in New Issue
Block a user