blob: 95b03d7d74e55d85192f426f91a11851743b1d26 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
CppApplication {
condition: {
var result = qbs.targetPlatform === qbs.hostPlatform;
if (!result)
console.info("targetPlatform differs from hostPlatform");
return result && hasProtobuf;
}
name: "addressbook_objc"
consoleApplication: true
Depends { name: "cpp" }
Depends { name: "protobuf.objc"; required: false }
property bool hasProtobuf: {
console.info("has protobuf: " + protobuf.objc.present);
console.info("has modules: false");
return protobuf.objc.present;
}
files: [
"addressbook.proto",
"main.m",
]
}
|