summaryrefslogtreecommitdiff
path: root/qtcreator.qbs
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@digia.com>2013-08-26 17:50:02 +0200
committerChristian Kandeler <christian.kandeler@digia.com>2013-09-09 12:16:09 +0200
commit698144e32ed270145cf2c1ff3ec8a9519ffef419 (patch)
tree4882fc026b5360a8bcb5cd8d4df43807090569a4 /qtcreator.qbs
parentfbda0ef558c3bee966fe517fc48b642bef85e6f4 (diff)
downloadqt-creator-698144e32ed270145cf2c1ff3ec8a9519ffef419.tar.gz
Add qbs project files for autotests.
Note: Since not all autotests are able to run from an installed location, we need to be able to start them from the build directory, which in turn forces us to set a destination directory for libraries and plugins, so they will be found at run-time. Change-Id: Idcf7e1333dfa6e9dbf745391b78c035f842ccc5a Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Diffstat (limited to 'qtcreator.qbs')
-rw-r--r--qtcreator.qbs2
1 files changed, 2 insertions, 0 deletions
diff --git a/qtcreator.qbs b/qtcreator.qbs
index deb1e82391..3e1d842900 100644
--- a/qtcreator.qbs
+++ b/qtcreator.qbs
@@ -1,6 +1,7 @@
import qbs.base 1.0
Project {
+ property bool withAutotests: qbs.buildVariant === "debug"
property string ide_version_major: '2'
property string ide_version_minor: '8'
property string ide_version_release: '81'
@@ -55,5 +56,6 @@ Project {
"lib/qtcreator/qtcomponents/qtcomponents.qbs",
"share/share.qbs",
"share/qtcreator/translations/translations.qbs",
+ "tests/tests.qbs"
]
}