aboutsummaryrefslogtreecommitdiffstats
path: root/qbs.qbs
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@theqtcompany.com>2016-05-19 17:07:49 +0200
committerChristian Kandeler <christian.kandeler@theqtcompany.com>2016-06-07 12:31:21 +0000
commitddc360f424720799c26ce47d49f13929e00af2df (patch)
tree3713414489cb0871b84fc2dcc98036db5a35d408 /qbs.qbs
parent81e2141158af5ad4f457a2671dd2717d8302e90e (diff)
qbs build: Move build config properties into a dedicated module.
Qt Creator will do the same in order to be able to build plugins that are not part of the main source tree. This means the qbs build and install settings can no longer be controlled by properties in a higher- level project file, but need to come from a module. Change-Id: I20c0a4538395c8ee838b33f35be84ee59f601f90 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'qbs.qbs')
-rw-r--r--qbs.qbs21
1 files changed, 0 insertions, 21 deletions
diff --git a/qbs.qbs b/qbs.qbs
index d126cf69a..43c0dc204 100644
--- a/qbs.qbs
+++ b/qbs.qbs
@@ -3,28 +3,7 @@ import qbs 1.0
Project {
minimumQbsVersion: "1.4"
qbsSearchPaths: ["qbs-resources"]
- property bool enableUnitTests: false
- property bool enableProjectFileUpdates: false
- property bool enableRPath: true
- property bool installApiHeaders: true
property bool withExamples: false
- property string libDirName: "lib"
- property string appInstallDir: "bin"
- property string libInstallDir: qbs.targetOS.contains("windows") ? "bin" : libDirName
- property string libexecInstallDir: "libexec/qbs"
- property string relativeLibexecPath: "../" + libexecInstallDir
- property string relativePluginsPath: "../" + libDirName
- property string relativeSearchPath: ".."
- property stringList libRPaths: {
- if (!enableRPath)
- return undefined;
- if (qbs.targetOS.contains("linux"))
- return ["$ORIGIN/../" + libDirName];
- if (qbs.targetOS.contains("osx"))
- return ["@loader_path/../" + libDirName]
- }
- property string resourcesInstallDir: ""
- property string pluginsInstallDir: libDirName
references: [
"dist/dist.qbs",