forked from qt-creator/qt-creator
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: Joerg Bornemann <joerg.bornemann@digia.com>
This commit is contained in:
committed by
Joerg Bornemann
parent
7b2c26204a
commit
1d11fd7344
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user