forked from qt-creator/qt-creator
qbs build: Introduce convenience project property sharedSourcesDir.
Change-Id: I69aacc7391e6e25e66eae1fb54b3c1cfb18679ee Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user