aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/blackbox/testdata/dynamicLibs/link_dynamiclib.qbs
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@digia.com>2013-10-10 17:26:33 +0200
committerJoerg Bornemann <joerg.bornemann@digia.com>2013-10-14 23:23:45 +0200
commitc8b795532c5b5fa0752e218ab5b75c1569a2c5c1 (patch)
tree398974b7a781f3dee425eb608dfd58399b3689e7 /tests/auto/blackbox/testdata/dynamicLibs/link_dynamiclib.qbs
parentc939d3bb79619229626ccd02ea7deabe5debf060 (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.qbs62
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: ['.']
+ }
+ }
+}
+