diff options
author | Samuel Gaist <samuel.gaist@idiap.ch> | 2020-01-09 08:36:20 +0100 |
---|---|---|
committer | Samuel Gaist <samuel.gaist@idiap.ch> | 2020-01-14 06:55:48 +0100 |
commit | 44fd33e05c6b2b8f36bde894164480024d3c92ab (patch) | |
tree | aa2507866bdb427bbd43f50448eea5c253c9ec51 /qmake/doc/snippets/code/doc_src_qmake-manual.pro | |
parent | 99b396631999d7fc4e5e95b90a83858a5cb5a941 (diff) |
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 <paul.wicking@qt.io>
Reviewed-by: Sze Howe Koh <szehowe.koh@gmail.com>
Diffstat (limited to 'qmake/doc/snippets/code/doc_src_qmake-manual.pro')
-rw-r--r-- | qmake/doc/snippets/code/doc_src_qmake-manual.pro | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/qmake/doc/snippets/code/doc_src_qmake-manual.pro b/qmake/doc/snippets/code/doc_src_qmake-manual.pro index 8ba0aa0713..d36d926b66 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] |