From 0f2a43f05f29e8708b76503557383a8e1deadac8 Mon Sep 17 00:00:00 2001 From: David Rosca Date: Tue, 23 Sep 2014 22:57:42 +0200 Subject: [PATCH] Build: Use target dependencies instead of CONFIG ordered This should slightly speed multi-core builds --- QupZilla.pro | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/QupZilla.pro b/QupZilla.pro index 7e5a3ba53..e1e2969ca 100644 --- a/QupZilla.pro +++ b/QupZilla.pro @@ -14,7 +14,14 @@ lessThan(QT_VERSION, 4.7) { mac|unix: system(test -d bin/plugins || mkdir bin/plugins) TEMPLATE = subdirs -SUBDIRS = src/lib src/main -CONFIG += ordered -SUBDIRS += src/plugins +src_lib.subdir = src/lib +src_lib.target = sub-src-lib + +src_main.subdir = src/main +src_main.depends = sub-src-lib + +src_plugins.subdir = src/plugins +src_plugins.depends = sub-src-lib + +SUBDIRS += src_lib src_main src_plugins