diff options
author | Christian Kandeler <christian.kandeler@digia.com> | 2013-10-10 17:26:33 +0200 |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@digia.com> | 2013-10-14 23:23:45 +0200 |
commit | c8b795532c5b5fa0752e218ab5b75c1569a2c5c1 (patch) | |
tree | 398974b7a781f3dee425eb608dfd58399b3689e7 /tests/auto/blackbox/testdata/dynamicLibs/link_dynamiclib.qbs | |
parent | c939d3bb79619229626ccd02ea7deabe5debf060 (diff) |
Spring cleaning in manual tests.
Fix the ones that are broken, remove outdated constructs, turn into
autotest where it seems sensible.
Change-Id: I0fa7e95af4e49ea190b739f779ddf7e4e8b6f96a
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Diffstat (limited to 'tests/auto/blackbox/testdata/dynamicLibs/link_dynamiclib.qbs')
-rw-r--r-- | tests/auto/blackbox/testdata/dynamicLibs/link_dynamiclib.qbs | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/tests/auto/blackbox/testdata/dynamicLibs/link_dynamiclib.qbs b/tests/auto/blackbox/testdata/dynamicLibs/link_dynamiclib.qbs new file mode 100644 index 000000000..53cebc4a9 --- /dev/null +++ b/tests/auto/blackbox/testdata/dynamicLibs/link_dynamiclib.qbs @@ -0,0 +1,62 @@ +import qbs 1.0 + +Project { + Application { + name : "HelloWorld" + destinationDirectory: "bin" + Group { + files : [ "main.cpp" ] + } + Depends { name: "cpp" } + Depends { name: "lib1" } + Depends { name: "lib4" } + } + + DynamicLibrary { + name : "lib1" + destinationDirectory: "bin" + Group { + files : [ "lib1.cpp" ] + } + Depends { name: "cpp" } + Depends { name: "lib2" } + } + + DynamicLibrary { + name : "lib2" + destinationDirectory: "bin" + cpp.visibility: 'default' + Group { + files : [ "lib2.cpp" ] + } + Depends { name: "cpp" } + Depends { name: "lib3" } + } + + DynamicLibrary { + name : "lib3" + destinationDirectory: "bin" + cpp.visibility: 'hidden' + Group { + files : [ "lib3.cpp" ] + } + Depends { name: "cpp" } + } + + DynamicLibrary { + name : "lib4" + destinationDirectory: "bin" + cpp.visibility: 'hiddenInlines' + cpp.defines: "TEST_LIB" + Group { + files : [ "lib4.h", "lib4.cpp" ] + } + Depends { name: "cpp" } + + Export { + Depends { name: "cpp" } + cpp.includePaths: ['.'] + } + } +} + |