From f115d51b86d8650dbb9a2458e3cf893201fd6a40 2013-10-03 11:20:37 From: Miikka Heikkinen Date: 2013-10-03 11:20:37 Subject: [PATCH] Do not add tests to subdirs if it doesn't exist. Facilitates release package creation - no need to edit charts.pro manually when creating the package anymore. Change-Id: I25ec7d762f465d93591ac77320c10a1e3ff6d761 Reviewed-by: Sergio Ahumada Reviewed-by: Mika Salmela --- diff --git a/charts.pro b/charts.pro index 9c1ab46..530e4f6 100644 --- a/charts.pro +++ b/charts.pro @@ -5,7 +5,7 @@ TEMPLATE = subdirs SUBDIRS = src plugins !nomake_demos_examples: SUBDIRS += demos examples -SUBDIRS += tests +exists(tests): SUBDIRS += tests development_build: message('Development build')