qbs build: Introduce convenience project property sharedSourcesDir.

Change-Id: I69aacc7391e6e25e66eae1fb54b3c1cfb18679ee
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
This commit is contained in:
Christian Kandeler
2015-02-18 15:35:45 +01:00
parent 64be0004a6
commit 05f8a2c813
14 changed files with 25 additions and 18 deletions

View File

@@ -17,7 +17,7 @@ QtcPlugin {
Depends { name: "ProjectExplorer" }
Depends { name: "TextEditor" }
cpp.includePaths: base.concat(["../../shared/registryaccess"])
cpp.includePaths: base.concat([project.sharedSourcesDir + "/registryaccess"])
pluginRecommends: [
"CppEditor"
@@ -214,7 +214,7 @@ QtcPlugin {
Group {
name: "RegistryAccess"
condition: qbs.targetOS.contains("windows")
prefix: "../../shared/registryaccess/"
prefix: project.sharedSourcesDir + "/registryaccess/"
files: [
"registryaccess.cpp",
"registryaccess.h",