aboutsummaryrefslogtreecommitdiffstats
path: root/tests/manual/link_staticlib/link_staticlib.qbp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/manual/link_staticlib/link_staticlib.qbp')
-rw-r--r--tests/manual/link_staticlib/link_staticlib.qbp30
1 files changed, 30 insertions, 0 deletions
diff --git a/tests/manual/link_staticlib/link_staticlib.qbp b/tests/manual/link_staticlib/link_staticlib.qbp
new file mode 100644
index 000000000..a86b50f8d
--- /dev/null
+++ b/tests/manual/link_staticlib/link_staticlib.qbp
@@ -0,0 +1,30 @@
+import qbs.base 1.0
+
+Project {
+ Application {
+ name: "HelloWorld"
+ files : [ "main.cpp" ]
+ Depends { name: "cpp" }
+ Depends { name: "mystaticlib" }
+ }
+
+ StaticLibrary {
+ name : "mystaticlib"
+ files : [ "mystaticlib.cpp" ]
+ Depends { name: "cpp" }
+ Depends { name: "helperlib" }
+ }
+
+ StaticLibrary {
+ name : "helperlib"
+ files : [
+ "helper/helper.h",
+ "helper/helper.cpp"
+ ]
+ Depends { name: "cpp" }
+ ProductModule {
+ cpp.includePaths: ['helper']
+ }
+ }
+}
+