Commit f1da03c7 authored by Christian Kandeler's avatar Christian Kandeler Committed by Joerg Bornemann
Browse files

qbs project files: Make use of new qbsSearchPaths property.



Change-Id: I396d970fafea1fd0b4c4d73883796662a1d0064b
Reviewed-by: default avatarJoerg Bornemann <joerg.bornemann@digia.com>
parent b60bbbae
import qbs.base 1.0
import "../../qbs/functions.js" as QtcFunctions
import QtcFunctions
DynamicLibrary {
Depends { name: "cpp" }
......@@ -22,11 +22,12 @@ DynamicLibrary {
cpp.rpaths: qbs.targetOS.contains("osx")
? ["@loader_path/..", "@executable_path/.."]
: ["$ORIGIN", "$ORIGIN/.."]
cpp.includePaths: [path]
property string libIncludeBase: ".." // #include <lib/header.h>
cpp.includePaths: [libIncludeBase]
Export {
Depends { name: "cpp" }
cpp.includePaths: [path]
cpp.includePaths: [libIncludeBase]
}
Group {
......
import qbs.base 1.0
import qbs.FileInfo
import "../../qbs/functions.js" as QtcFunctions
import QtcFunctions
Product {
type: ["dynamiclibrary", "pluginSpec"]
......@@ -33,7 +33,9 @@ Product {
else if (qbs.buildVariant == "debug" && qbs.toolchain.contains("msvc"))
return ["/INCREMENTAL:NO"] // Speed up startup time when debugging with cdb
}
cpp.includePaths: [path]
property string pluginIncludeBase: ".." // #include <plugin/header.h>
cpp.includePaths: [pluginIncludeBase]
Group {
name: "PluginSpec"
......@@ -55,6 +57,6 @@ Product {
Export {
Depends { name: "ExtensionSystem" }
Depends { name: "cpp" }
cpp.includePaths: [path]
cpp.includePaths: [pluginIncludeBase]
}
}
......@@ -52,7 +52,7 @@ Project {
"QT_NO_CAST_TO_ASCII",
"QT_NO_CAST_FROM_ASCII"
].concat(testsEnabled ? ["WITH_TESTS"] : [])
moduleSearchPaths: "qbs"
qbsSearchPaths: "qbs"
references: [
"src/src.qbs",
......
import qbs.base 1.0
import "../QtcLibrary.qbs" as QtcLibrary
import QtcLibrary
QtcLibrary {
name: "Aggregation"
......
import qbs.base 1.0
import "../QtcLibrary.qbs" as QtcLibrary
import QtcLibrary
QtcLibrary {
name: "CPlusPlus"
......
import qbs.base 1.0
import "../QtcLibrary.qbs" as QtcLibrary
import QtcLibrary
QtcLibrary {
name: "ExtensionSystem"
......
import qbs.base 1.0
import "../QtcLibrary.qbs" as QtcLibrary
import QtcLibrary
QtcLibrary {
name: "GLSL"
......
import qbs.base 1.0
import "../QtcLibrary.qbs" as QtcLibrary
import QtcLibrary
QtcLibrary {
name: "LanguageUtils"
......
import qbs.base 1.0
import "../QtcLibrary.qbs" as QtcLibrary
import QtcLibrary
QtcLibrary {
name: "QmlDebug"
......
import qbs.base 1.0
import "../QtcLibrary.qbs" as QtcLibrary
import QtcLibrary
QtcLibrary {
name: "QmlEditorWidgets"
......
import qbs.base 1.0
import "../QtcLibrary.qbs" as QtcLibrary
import QtcLibrary
QtcLibrary {
name: "QmlJS"
......
import qbs.base 1.0
import "../QtcLibrary.qbs" as QtcLibrary
import QtcLibrary
QtcLibrary {
name: "QtcSsh"
......
import qbs.base 1.0
import "../../tools/QtcTool.qbs" as QtcTool
import QtcTool
QtcTool {
name: "qtcreator_ctrlc_stub"
......
import qbs.base 1.0
import "../../tools/QtcTool.qbs" as QtcTool
import QtcTool
QtcTool {
name: "qtcreator_process_stub"
......
import qbs.base 1.0
import "../QtcLibrary.qbs" as QtcLibrary
import QtcLibrary
QtcLibrary {
name: "Utils"
......
import qbs.base 1.0
import "../QtcLibrary.qbs" as QtcLibrary
import QtcLibrary
QtcLibrary {
name: "zeroconf"
......
import qbs.base 1.0
import "../QtcPlugin.qbs" as QtcPlugin
import QtcPlugin
QtcPlugin {
name: "AnalyzerBase"
......
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