diff options
Diffstat (limited to 'tutorial/chapter-7/myproject.qbs')
-rw-r--r-- | tutorial/chapter-7/myproject.qbs | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/tutorial/chapter-7/myproject.qbs b/tutorial/chapter-7/myproject.qbs new file mode 100644 index 000000000..aa7ec90bd --- /dev/null +++ b/tutorial/chapter-7/myproject.qbs @@ -0,0 +1,27 @@ +Project { + property bool withTests: true + property bool installDebugInformation: true + property stringList autotestArguments: [] + property stringList autotestWrapper: [] + + name: "My Project" + minimumQbsVersion: "2.0" + references: [ + "app/app.qbs", + "lib/lib.qbs", + ] + qbsSearchPaths: "qbs" + + SubProject { + filePath: "test/test.qbs" + Properties { + condition: parent.withTests + } + } + + AutotestRunner { + condition: parent.withTests + arguments: parent.autotestArguments + wrapper: parent.autotestWrapper + } +} |