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