浏览代码

add_dependencies: Document behavior under Ninja generators

Closes: #25796
Juan Ramos 1 年之前
父节点
当前提交
89aac1fbe8
共有 1 个文件被更改,包括 7 次插入0 次删除
  1. 7 0
      Help/command/add_dependencies.rst

+ 7 - 0
Help/command/add_dependencies.rst

@@ -20,6 +20,13 @@ transitively in its place since the target itself does not build.
 .. versionadded:: 3.3
   Allow adding dependencies to interface libraries.
 
+.. versionchanged:: 3.9
+  The :ref:`Ninja Generators` use weaker ordering than
+  other generators in order to improve available concurrency.
+  They only guarantee that the dependencies' custom commands are
+  finished before sources in ``<target>`` start compiling; this
+  ensures generated sources are available.
+
 See Also
 ^^^^^^^^