33ffdd681f6be910ef875b7c59360453eda39bf8
[platform/upstream/cmake.git] / Help / variable / CMAKE_FIND_DEBUG_MODE.rst
1 CMAKE_FIND_DEBUG_MODE
2 ---------------------
3
4 Print extra find call information for the following commands to standard
5 error:
6 * :command:`find_program`
7 * :command:`find_library`
8 * :command:`find_file`
9 * :command:`find_path`
10 * :command:`find_package`
11
12 Output is designed for human consumption and not for parsing.
13 Enabling this variable is equivalent to using :manual:`cmake <cmake(1)>` ``--debug-find``
14 with the added ability to enable debugging for a subset of find calls.
15
16 .. code-block:: cmake
17
18   set(CMAKE_FIND_DEBUG_MODE TRUE)
19   find_program(...)
20   set(CMAKE_FIND_DEBUG_MODE FALSE)
21
22 Default is unset.