Support built-in testing infrastructure with qbs build.

I.e. define WITH_TESTS for debug builds or if the respective
environment variable is set.

Change-Id: I2764ece50d0783e8cb030b1695e6f59cf6063248
Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
This commit is contained in:
Christian Kandeler
2012-09-05 11:01:43 +02:00
committed by Joerg Bornemann
parent 405217c111
commit 40d919eed8
15 changed files with 63 additions and 19 deletions

View File

@@ -24,10 +24,7 @@ QtcPlugin {
condition: qtcore.versionMajor >= 5
cpp.defines: base.concat(["QT_NO_WEBKIT"])
}
cpp.defines: base.concat([
"QT_CLUCENE_SUPPORT",
"HELP_LIBRARY"
])
cpp.defines: base.concat(["QT_CLUCENE_SUPPORT"])
cpp.includePaths: [
"../../shared/help",
".",