浏览代码

Merge topic 'Help-OPTIMIZE_DEPENDENCIES-fixes'

02805028bd HELP/OPTIMIZE_DEPENDENCIES: fix reST markup
c40f3b984b Help/OPTIMIZE_DEPENDENCIES: fix parity of which files are considered

Acked-by: Kitware Robot <[email protected]>
Reviewed-by: Craig Scott <[email protected]>
Merge-request: !11336
Brad King 1 周之前
父节点
当前提交
b79c1a9f1a
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      Help/prop_tgt/OPTIMIZE_DEPENDENCIES.rst

+ 2 - 2
Help/prop_tgt/OPTIMIZE_DEPENDENCIES.rst

@@ -21,8 +21,8 @@ any of the following criteria:
 * The dependency has any ``PRE_BUILD``, ``PRE_LINK``, or ``POST_BUILD`` custom
   commands associated with it.
 * The dependency contains any source files that were generated by a custom
-  command. However, if :policy:`CMP0154` is `NEW` for the dependency and it
-  uses :ref:`File Sets`, only source files that are not in a ``PUBLIC``,
+  command. However, if :policy:`CMP0154` is ``NEW`` for the dependency and it
+  uses :ref:`File Sets`, only source files that are scoped as ``PUBLIC``,
   ``INTERFACE``, or of type ``CXX_MODULES`` are considered.
 * The dependency contains any languages which produce side effects that are
   relevant to the library. Currently, all languages except C, C++, Objective-C,