aboutsummaryrefslogtreecommitdiffstats
path: root/share/qbs/modules/qbs/common.qbs
diff options
context:
space:
mode:
authorRuslan Nigmatullin <euroelessar@yandex.ru>2012-08-17 01:19:27 +0600
committerJoerg Bornemann <joerg.bornemann@nokia.com>2012-08-20 10:09:25 +0200
commit1b2286eefeac88b693b3619a21daf0fa4b786f58 (patch)
tree7a06c9ef3bb44be3bbf5800289cf9182a7ad819e /share/qbs/modules/qbs/common.qbs
parent93fd36a35694673543541743626b9646122d42eb (diff)
Added qbs.getenv method
Change-Id: Ic562725ec6b1153299a11e23de21dbf85cec9f81 Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
Diffstat (limited to 'share/qbs/modules/qbs/common.qbs')
-rw-r--r--share/qbs/modules/qbs/common.qbs2
1 files changed, 2 insertions, 0 deletions
diff --git a/share/qbs/modules/qbs/common.qbs b/share/qbs/modules/qbs/common.qbs
index 820ee243c..b95b5781c 100644
--- a/share/qbs/modules/qbs/common.qbs
+++ b/share/qbs/modules/qbs/common.qbs
@@ -21,6 +21,8 @@ Module {
property string deployRoot: "./deployRoot"
property string deployInfoFile
+ property var getenv: getGetEnvFunction()
+
PropertyOptions {
name: "buildVariant"
allowedValues: ['debug', 'release']