From 44fd33e05c6b2b8f36bde894164480024d3c92ab Mon Sep 17 00:00:00 2001 From: Samuel Gaist Date: Thu, 9 Jan 2020 08:36:20 +0100 Subject: doc: improve SUBDIRS documentation for dependency handling The use of the 'ordered' CONFIG option is known to not be efficient for multi-core builds. This patch updates the documentation with an example using the .depends modifier as well a discourage the use of 'ordered'. Change-Id: I3575243a7c4138f0671d171441c932c3ad89a411 Reviewed-by: Paul Wicking Reviewed-by: Sze Howe Koh --- qmake/doc/snippets/code/doc_src_qmake-manual.pro | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'qmake/doc/snippets/code') diff --git a/qmake/doc/snippets/code/doc_src_qmake-manual.pro b/qmake/doc/snippets/code/doc_src_qmake-manual.pro index 8ba0aa07132..d36d926b660 100644 --- a/qmake/doc/snippets/code/doc_src_qmake-manual.pro +++ b/qmake/doc/snippets/code/doc_src_qmake-manual.pro @@ -303,7 +303,9 @@ SUBDIRS = kernel \ #! [51] -CONFIG += ordered +SUBDIRS += my_executable my_library tests doc +my_executable.depends = my_library +tests.depends = my_executable #! [51] -- cgit v1.2.3