aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/blackbox/testdata/compilerDefinesByLanguage/CppDefinesApp.qbs
blob: f2da212f662fc84ef5e62b893c027b6cd2709abd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
CppApplication {
    files: ["app.c"]

    property bool enableObjectiveC: qbs.targetOS.includes("darwin")

    Group {
        name: "C/C++"
        files: [
            "test.c",
            "test.cpp",
        ]
    }

    Group {
        name: "Objective-C"
        condition: enableObjectiveC
        files: [
            "test.m",
            "test.mm",
        ]
    }
}