浏览代码

Merge topic 'docs-CMAKE_FIND_DEBUG_MODE'

477b8b5dfe Help: Improve discoverability of CMAKE_FIND_DEBUG_MODE
218bda9671 Help: Fix CMAKE_FIND_DEBUG_MODE list formatting

Acked-by: Kitware Robot <[email protected]>
Merge-request: !4569
Craig Scott 5 年之前
父节点
当前提交
49b78e93a7
共有 2 个文件被更改,包括 4 次插入1 次删除
  1. 3 1
      Help/manual/cmake.1.rst
  2. 1 0
      Help/variable/CMAKE_FIND_DEBUG_MODE.rst

+ 3 - 1
Help/manual/cmake.1.rst

@@ -242,10 +242,12 @@ Options
  :command:`message(SEND_ERROR)` calls.
 
 ``--debug-find``
- Put cmake find in a debug mode.
+ Put cmake find commands in a debug mode.
 
  Print extra find call information during the cmake run to standard
  error. Output is designed for human consumption and not for parsing.
+ See also the :variable:`CMAKE_FIND_DEBUG_MODE` variable for debugging
+ a more local part of the project.
 
 ``--trace``
  Put cmake in trace mode.

+ 1 - 0
Help/variable/CMAKE_FIND_DEBUG_MODE.rst

@@ -3,6 +3,7 @@ CMAKE_FIND_DEBUG_MODE
 
 Print extra find call information for the following commands to standard
 error:
+
 * :command:`find_program`
 * :command:`find_library`
 * :command:`find_file`