From 5bd00073b814c080a70ded90472bd0e4f1d4157b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tor=20Arne=20Vestb=C3=B8?= Date: Fri, 18 Oct 2013 17:12:15 +0200 Subject: Explicitly mark subdirs as host_builds in SUBDIRS template Allows post-processing code to exclude recursing into host_build subdirs. The alternative would be to have the SUBDIRS logic pre-parse the subdir project to check if it's a host_build, but that might have a performance impact, so it's better to leave the information explicit in the subdir project file. Change-Id: I468ceeaedce54b13bf672f82b9dcf04cc19d15e1 Reviewed-by: Oswald Buddenhagen --- tools/tools.pro | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tools/tools.pro') diff --git a/tools/tools.pro b/tools/tools.pro index c3b1ad94ec..a1b48789b8 100644 --- a/tools/tools.pro +++ b/tools/tools.pro @@ -2,6 +2,10 @@ TEMPLATE = subdirs SUBDIRS += \ qmlmin \ qmlimportscanner + +qmlmin.CONFIG = host_build +qmlimportscanner.CONFIG = host_build + !android|android_app { SUBDIRS += \ qml \ -- cgit v1.2.3