aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/api/testdata/export-item-with-group
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@theqtcompany.com>2015-07-16 12:44:27 +0200
committerJoerg Bornemann <joerg.bornemann@theqtcompany.com>2015-07-20 09:48:50 +0000
commit9d025655d5524433ac8ffbbac0f5ab7aa196d797 (patch)
tree9cd323d97b755afb8ec68ca87c6082fdbfa18465 /tests/auto/api/testdata/export-item-with-group
parentdb0c52d932a62ed4744334e76efc1681aca7a25e (diff)
Fix property evaluation of export items.
Make product dependencies first class modules. Task-number: QBS-736 Task-number: QBS-814 Task-number: QBS-822 Task-number: QBS-830 Change-Id: Ia72a8c4e29eb78a114795299a753256a41208ace Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com> Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
Diffstat (limited to 'tests/auto/api/testdata/export-item-with-group')
-rw-r--r--tests/auto/api/testdata/export-item-with-group/main.cpp1
-rw-r--r--tests/auto/api/testdata/export-item-with-group/project.qbs16
2 files changed, 17 insertions, 0 deletions
diff --git a/tests/auto/api/testdata/export-item-with-group/main.cpp b/tests/auto/api/testdata/export-item-with-group/main.cpp
new file mode 100644
index 000000000..8b8d58de0
--- /dev/null
+++ b/tests/auto/api/testdata/export-item-with-group/main.cpp
@@ -0,0 +1 @@
+int main() { }
diff --git a/tests/auto/api/testdata/export-item-with-group/project.qbs b/tests/auto/api/testdata/export-item-with-group/project.qbs
new file mode 100644
index 000000000..861da81f4
--- /dev/null
+++ b/tests/auto/api/testdata/export-item-with-group/project.qbs
@@ -0,0 +1,16 @@
+import qbs
+
+Project {
+ Product {
+ name: "dep"
+ Export {
+ Depends { name: "cpp" }
+ Group { files: ["main.cpp"] }
+ }
+ }
+
+ Application {
+ name: "app"
+ Depends { name: "dep" }
+ }
+}