mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-22 22:31:18 -05:00
Merge topic 'suppress-implicit-find-events'
c42d82d569find_*: support suppressing implicit transition events64f429cc4fHelp/dev: add release note for implicit configure log find events4cd83339f1cmFindCommon: fix comment after renaming the `FullDebugMode` member Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !10874
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
CMAKE_FIND_DEBUG_MODE_NO_IMPLICIT_CONFIGURE_LOG
|
||||
-----------------------------------------------
|
||||
|
||||
.. versionadded:: 4.1
|
||||
|
||||
The following commands will report configure log events when they experience a
|
||||
transition between found and not-found states or when the result is first
|
||||
defined:
|
||||
|
||||
* :command:`find_program`
|
||||
* :command:`find_library`
|
||||
* :command:`find_file`
|
||||
* :command:`find_path`
|
||||
* :command:`find_package`
|
||||
|
||||
The ``CMAKE_FIND_DEBUG_MODE_NO_IMPLICIT_CONFIGURE_LOG`` boolean variable
|
||||
suppresses these implicit events from the configure log when set to a true
|
||||
value.
|
||||
|
||||
.. code-block:: cmake
|
||||
|
||||
set(CMAKE_FIND_DEBUG_MODE_NO_IMPLICIT_CONFIGURE_LOG TRUE)
|
||||
find_program(...)
|
||||
set(CMAKE_FIND_DEBUG_MODE_NO_IMPLICIT_CONFIGURE_LOG FALSE)
|
||||
|
||||
Default is unset.
|
||||
Reference in New Issue
Block a user