From 9d025655d5524433ac8ffbbac0f5ab7aa196d797 Mon Sep 17 00:00:00 2001 From: Joerg Bornemann Date: Thu, 16 Jul 2015 12:44:27 +0200 Subject: 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 Reviewed-by: Christian Kandeler --- tests/auto/api/testdata/export-item-with-group/main.cpp | 1 + .../auto/api/testdata/export-item-with-group/project.qbs | 16 ++++++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 tests/auto/api/testdata/export-item-with-group/main.cpp create mode 100644 tests/auto/api/testdata/export-item-with-group/project.qbs (limited to 'tests/auto/api/testdata/export-item-with-group') 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" } + } +} -- cgit v1.2.3