Imported Upstream version 3.17.1
[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
7 * :command:`find_program`
8 * :command:`find_library`
9 * :command:`find_file`
10 * :command:`find_path`
11 * :command:`find_package`
12
13 Output is designed for human consumption and not for parsing.
14 Enabling this variable is equivalent to using :manual:`cmake <cmake(1)>` ``--debug-find``
15 with the added ability to enable debugging for a subset of find calls.
16
17 .. code-block:: cmake
18
19   set(CMAKE_FIND_DEBUG_MODE TRUE)
20   find_program(...)
21   set(CMAKE_FIND_DEBUG_MODE FALSE)
22
23 Default is unset.