aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/blackbox/testdata/exported-property-in-disabled-product/exported-property-in-disabled-product.qbs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/blackbox/testdata/exported-property-in-disabled-product/exported-property-in-disabled-product.qbs')
-rw-r--r--tests/auto/blackbox/testdata/exported-property-in-disabled-product/exported-property-in-disabled-product.qbs20
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/auto/blackbox/testdata/exported-property-in-disabled-product/exported-property-in-disabled-product.qbs b/tests/auto/blackbox/testdata/exported-property-in-disabled-product/exported-property-in-disabled-product.qbs
new file mode 100644
index 000000000..2717466b0
--- /dev/null
+++ b/tests/auto/blackbox/testdata/exported-property-in-disabled-product/exported-property-in-disabled-product.qbs
@@ -0,0 +1,20 @@
+import qbs
+
+Project {
+ CppApplication {
+ name: "app"
+ Depends { name: "dep"; required: false }
+ files: "main.cpp"
+ }
+ Product {
+ name: "dep"
+ condition: eval(conditionString)
+ property string conditionString
+ Depends { name: "nosuchmodule"; required: false }
+ Depends { name: "broken"; required: false }
+ Export {
+ Depends { name: "cpp" }
+ cpp.dynamicLibraries: ["nosuchlib"]
+ }
+ }
+}