aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/corelib/buildgraph/productinstaller.h
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@theqtcompany.com>2015-01-26 16:42:42 +0100
committerJoerg Bornemann <joerg.bornemann@theqtcompany.com>2015-02-03 16:38:07 +0000
commitb5069f8076aad4d41ecec589441edb19b7db3493 (patch)
tree907fb631094ba2a6b84a958a41ef46a8064d2053 /src/lib/corelib/buildgraph/productinstaller.h
parent6db67c7a46b99c57c1133d305a92a073be2233fc (diff)
support installation of directory trees
Introduce the string property qbs.installSourceBase that specifies the base directory of the local file that is going to be installed. The default is the directory path of the current file to be installed, relative to the product's source directory. This ensures that the current behavior is not changed. In this example Group { files: ["data/**/*.png"] qbs.install: true qbs.installDir: "content" qbs.installSourceBase: "data" } the directory structure of the PNG files below "data" is preserved and is installed in a "content" subdirectory. Change-Id: Ic0c7166b07da77a8ae7eea98aa345079f74e17e9 Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
Diffstat (limited to 'src/lib/corelib/buildgraph/productinstaller.h')
-rw-r--r--src/lib/corelib/buildgraph/productinstaller.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/corelib/buildgraph/productinstaller.h b/src/lib/corelib/buildgraph/productinstaller.h
index 55259bdc5..4dd791a60 100644
--- a/src/lib/corelib/buildgraph/productinstaller.h
+++ b/src/lib/corelib/buildgraph/productinstaller.h
@@ -49,7 +49,7 @@ public:
const InstallOptions &options, ProgressObserver *observer, const Logger &logger);
void install();
- static QString targetFilePath(const TopLevelProject *project,
+ static QString targetFilePath(const TopLevelProject *project, const QString &productSourceDir,
const QString &sourceFilePath, const PropertyMapConstPtr &properties,
InstallOptions &options, QString *targetDirectory = 0);
static void initInstallRoot(const TopLevelProject *project, InstallOptions &options);