summaryrefslogtreecommitdiff
path: root/examples/examples-deployment.qbs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/examples-deployment.qbs')
-rw-r--r--examples/examples-deployment.qbs30
1 files changed, 30 insertions, 0 deletions
diff --git a/examples/examples-deployment.qbs b/examples/examples-deployment.qbs
new file mode 100644
index 0000000000..e9e5fcf5f9
--- /dev/null
+++ b/examples/examples-deployment.qbs
@@ -0,0 +1,30 @@
+import qbs
+
+Product {
+ name: "examples (deployment)"
+ multiplexByQbsProperties: ["profiles"]
+ qbs.profiles: ["qt_targetProfile"]
+ Group {
+ files: [
+ "**"
+ ]
+ excludeFiles: [
+ "examples-all.qbs",
+ "examples-deployment.qbs",
+ "examples-products.qbs",
+ "imports/*",
+ "**/doc/**/*",
+ "aggregate/examples.pro",
+
+ // TODO:
+ // The following don't seem to get installed when building with qmake,
+ // though I don't see in all cases how they are excluded and whether
+ // that is on purpose.
+ "embedded/**",
+ "qmake/**",
+ ]
+ qbs.install: true
+ qbs.installDir: "examples"
+ qbs.installSourceBase: sourceDirectory
+ }
+}