From 06d88d66e58a19470509c211f842d10809e9879b Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Fri, 19 Feb 2016 20:31:01 +0200 Subject: [PATCH] CONFIG key to disable building tests. --HG-- branch : develop --- src/src.pro | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/src/src.pro b/src/src.pro index 93b34592a..d73d513e4 100644 --- a/src/src.pro +++ b/src/src.pro @@ -1,8 +1,17 @@ TEMPLATE = subdirs -SUBDIRS = \ - libs \ - app \ - test -app.depends = libs -test.depends = libs +noTests{ # For enable run qmake with CONFIG+=noTests + SUBDIRS = \ + libs \ + app + +} else { + SUBDIRS = \ + libs \ + app \ + test + + test.depends = libs +} + +app.depends = libs