summaryrefslogtreecommitdiff
path: root/tests/auto/api/testdata/app-without-sources/app-without-sources.qbs
blob: db707f51539a6c77acbd7aa76f54a1300486a4c5 (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
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"
        consoleApplication: true

        // HACK: cpp.entryPoint currently not working 100% with gcc
        Properties {
            condition: qbs.toolchain.includes("msvc")
            cpp.entryPoint: "main"
            cpp.dynamicLibraries: ["ucrt", "kernel32"]
        }
        cpp.entryPoint: undefined

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