diff options
Diffstat (limited to 'tutorial/chapter-2/lib/lib.qbs')
-rw-r--r-- | tutorial/chapter-2/lib/lib.qbs | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/tutorial/chapter-2/lib/lib.qbs b/tutorial/chapter-2/lib/lib.qbs new file mode 100644 index 000000000..378d855a6 --- /dev/null +++ b/tutorial/chapter-2/lib/lib.qbs @@ -0,0 +1,28 @@ +//! [0] +StaticLibrary { + name: "mylib" + files: [ + "lib.c", + "lib.h", + ] + version: "1.0.0" + install: true + + //! [1] + Depends { name: 'cpp' } + cpp.defines: ['CRUCIAL_DEFINE'] + //! [1] + + //! [2] + Export { + Depends { name: "cpp" } + cpp.includePaths: [exportingProduct.sourceDirectory] + } + //! [2] + + //! [3] + Depends { name: 'bundle' } + bundle.isBundle: false + //! [3] +} +//! [0] |