diff options
Diffstat (limited to 'tests/auto/api/testdata/properties-blocks/propertiesblocks.qbs')
-rw-r--r-- | tests/auto/api/testdata/properties-blocks/propertiesblocks.qbs | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/tests/auto/api/testdata/properties-blocks/propertiesblocks.qbs b/tests/auto/api/testdata/properties-blocks/propertiesblocks.qbs new file mode 100644 index 000000000..5fe02a103 --- /dev/null +++ b/tests/auto/api/testdata/properties-blocks/propertiesblocks.qbs @@ -0,0 +1,28 @@ +import qbs 1.0 + +Product { + Depends { name: 'cpp' } + + Properties { + condition: true + type: 'application' + name: 'HelloWorld' + } + + Properties { + condition: name == 'HelloWorld' + cpp.defines: ['DEFINE_IN_PROPERTIES'] + } + + Properties { + condition: qbs.targetOS.contains("weird") + cpp.staticLibraries: "abc" + } + + Group { + cpp.defines: outer.concat(['HAVE_MAIN_CPP', cpp.debugInformation ? '_DEBUG' : '_RELEASE']) + files: ['main.cpp'] + } +} + + |