aboutsummaryrefslogtreecommitdiffstats
path: root/examples/app-and-lib/lib/lib.qbs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/app-and-lib/lib/lib.qbs')
-rw-r--r--examples/app-and-lib/lib/lib.qbs10
1 files changed, 9 insertions, 1 deletions
diff --git a/examples/app-and-lib/lib/lib.qbs b/examples/app-and-lib/lib/lib.qbs
index 5c1b7c170..da03a8fe9 100644
--- a/examples/app-and-lib/lib/lib.qbs
+++ b/examples/app-and-lib/lib/lib.qbs
@@ -40,8 +40,16 @@ import qbs 1.0
Product {
type: "staticlibrary"
name: "app-and-lib-lib"
- files: [ "lib.cpp" ]
+ files: [
+ "lib.cpp",
+ "lib.h",
+ ]
cpp.defines: ['CRUCIAL_DEFINE']
Depends { name: 'cpp' }
+
+ Export {
+ Depends { name: "cpp" }
+ cpp.includePaths: [path]
+ }
}