Commit 1d11fd73 authored by Christian Kandeler's avatar Christian Kandeler Committed by Joerg Bornemann

qbs project: Add properties for pulling in additional resources.

We need this to build plugins located outside the source tree.

Change-Id: Ie587b5e838bf0ce67b19d3222bbc40b53b888e69
Reviewed-by: default avatarJoerg Bornemann <joerg.bornemann@digia.com>
parent 7b2c2620
......@@ -13,6 +13,9 @@ Project {
property path ide_source_tree: path
property string ide_app_path: qbs.targetOS.contains("osx") ? "" : "bin"
property string ide_app_target: qbs.targetOS.contains("osx") ? "Qt Creator" : "qtcreator"
property pathList additionalPlugins: []
property pathList additionalLibs: []
property pathList additionalTools: []
property string ide_library_path: {
if (qbs.targetOS.contains("osx"))
return ide_app_target + ".app/Contents/PlugIns"
......
......@@ -17,5 +17,5 @@ Project {
"utils/process_ctrlc_stub.qbs",
"utils/utils.qbs",
"zeroconf/zeroconf.qbs",
]
].concat(project.additionalLibs)
}
......@@ -59,5 +59,5 @@ Project {
"valgrind/valgrind.qbs",
"vcsbase/vcsbase.qbs",
"welcome/welcome.qbs"
]
].concat(project.additionalPlugins)
}
......@@ -8,5 +8,5 @@ Project {
"qtpromaker/qtpromaker.qbs",
"sdktool/sdktool.qbs",
"valgrindfake/valgrindfake.qbs"
]
].concat(project.additionalTools)
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment