aboutsummaryrefslogtreecommitdiffstats
path: root/tests/manual/link_staticlib/link_staticlib.qbp
blob: a86b50f8de014b51c2d76e303d795bf6ea91a37d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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']
        }
    }
}