Haibo Huang | 3910190 | 2020-08-03 18:43:26 -0700 | [diff] [blame] | 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. |