diff options
author | Christian Kandeler <christian.kandeler@qt.io> | 2017-08-15 16:27:56 +0200 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@qt.io> | 2017-09-01 10:44:47 +0000 |
commit | e669bb02ca8f76641a94b820cbab6b6699e264c7 (patch) | |
tree | 9dd2aac001657111a139962d9074e135d93f34e5 /tests/auto/blackbox/testdata-apple/apple-multiconfig/apple-multiconfig.qbs | |
parent | ae52739f81974ce1f8930e9799d96f2827dc1573 (diff) | |
download | qbs-e669bb02ca8f76641a94b820cbab6b6699e264c7.tar.gz |
Introduce property cpp.variantSuffix
This property existed already, but was only used for Darwin. It is now
fully functional and has proper platform-specific default values.
[ChangeLog] Debug variants of libraries now get a name suffix on Darwin
and Windows when multiplexing over qbs.buildVariants. Overriding is
possible via cpp.variantSuffix.
Change-Id: I5763f9641ead4f6335ab1f1800b9929bf84279e3
Reviewed-by: Jake Petroules <jake.petroules@qt.io>
Diffstat (limited to 'tests/auto/blackbox/testdata-apple/apple-multiconfig/apple-multiconfig.qbs')
-rw-r--r-- | tests/auto/blackbox/testdata-apple/apple-multiconfig/apple-multiconfig.qbs | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/auto/blackbox/testdata-apple/apple-multiconfig/apple-multiconfig.qbs b/tests/auto/blackbox/testdata-apple/apple-multiconfig/apple-multiconfig.qbs index f34307bf1..c2b57645c 100644 --- a/tests/auto/blackbox/testdata-apple/apple-multiconfig/apple-multiconfig.qbs +++ b/tests/auto/blackbox/testdata-apple/apple-multiconfig/apple-multiconfig.qbs @@ -98,6 +98,24 @@ Project { } } + CppApplication { + Depends { name: "multilib" } + Depends { name: "bundle" } + name: "fatmultiappmultivariant" + targetName: "fatmultiappmultivariant" + files: ["app.c"] + cpp.rpaths: qbs.targetOS.contains("darwin") ? ["@loader_path/../../../"] : [] + cpp.minimumMacosVersion: "10.5" + qbs.architectures: ["x86", "x86_64"] + qbs.buildVariants: ["debug", "profile"] + + Group { + fileTagsFilter: ["bundle.content"] + qbs.install: true + qbs.installSourceBase: product.buildDirectory + } + } + DynamicLibrary { Depends { name: "cpp" } Depends { name: "bundle" } |