CMAKE_FIND_DEBUG_MODE.rst 605 B

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