aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/blackbox/testdata/protobuf/addressbook_objc.qbs
blob: be68abfeed2a0092c8b88a4ec149e966bb3272ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import qbs

CppApplication {
    name: "addressbook_objc"
    consoleApplication: true
    condition: hasProtobuf

    Depends { name: "cpp" }
    Depends { name: "protobuf.objc"; required: false }
    property bool hasProtobuf: {
        console.info("has protobuf: " + protobuf.objc.present);
        return protobuf.objc.present;
    }

    files: [
        "addressbook.proto",
        "main.m",
    ]
}