aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/api/testdata/app-without-sources/app-without-sources.qbs
blob: 726726337be633f0370ac1dfc9ea6422b0ec21ca (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
31
32
33
34
35
36
37
38
39
import qbs 1.0

Project {
    StaticLibrary {
        name: "a"

        Depends { name: "cpp" }

        files: [
            "a.c",
        ]
    }

    StaticLibrary {
        name: "b"

        Depends { name: "a" }
        Depends { name: "cpp" }

        files: [
            "b.c",
        ]
    }

    CppApplication {
        name: "appWithoutSources"

        // HACK: cpp.entryPoint currently not working 100% with gcc
        Properties {
            condition: qbs.toolchain.contains("msvc")
            cpp.entryPoint: "main"
        }
        cpp.entryPoint: undefined
        bundle.isBundle: false

        Depends { name: "a" }
        Depends { name: "b" }
    }
}