aboutsummaryrefslogtreecommitdiffstats
path: root/share/qbs/modules/qbs/common.qbs
diff options
context:
space:
mode:
authorRuslan Nigmatullin <euroelessar@yandex.ru>2012-08-15 18:07:13 +0600
committerJoerg Bornemann <joerg.bornemann@nokia.com>2012-08-16 12:02:39 +0200
commitfce70be4ffcb4c040c97dc58d7a105908e19e11b (patch)
tree46d792da2dee2ef3456660fd892881f9daac30b8 /share/qbs/modules/qbs/common.qbs
parente3b77a1db0e455b33b4a773e54c1a995d2e08f00 (diff)
Added pathListSeparator and pathSeparator properties to qbs module
Change-Id: I873e943981c04da39be714dc954fcbd14e443006 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com> 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 39746dee9..8495db67a 100644
--- a/share/qbs/modules/qbs/common.qbs
+++ b/share/qbs/modules/qbs/common.qbs
@@ -8,6 +8,8 @@ Module {
property string platform
property string hostOS: getHostOS()
property string hostArchitecture: getHostDefaultArchitecture()
+ property string pathListSeparator: qbs.hostOS === "windows" ? ";" : ":"
+ property string pathSeparator: qbs.hostOS === "windows" ? "\\" : "/"
property string targetOS
property string buildProfileName
property string toolchain