aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/blackbox/testdata/maximum-c-language-version/maximum-c-language-version.qbs
blob: 320494d003b8a35f4ddb57de2da5fca460c9e4a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
CppApplication {
    name: "app"
    property bool enableNewestModule: true

    Probe {
        id: osProbe
        property stringList toolchain: qbs.toolchain
        configure: {
            if (toolchain.contains("msvc"))
                console.info("is msvc");
            found = true;
        }
    }

    Depends { name: "oldmodule" }
    Depends { name: "newermodule" }
    Depends { name: "newestmodule"; condition: enableNewestModule }

    files: "main.c"
}