blob: bbe4c7484764add3a0f1f802f202c34b689b669a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
import qbs
CppApplication {
name: "addressbook_cpp"
consoleApplication: true
condition: hasProtobuf
Depends { name: "cpp" }
cpp.cxxLanguageVersion: "c++11"
cpp.minimumMacosVersion: "10.8"
Depends { name: "protobuf.cpp"; required: false }
property bool hasProtobuf: {
console.info("has protobuf: " + protobuf.cpp.present);
return protobuf.cpp.present;
}
files: [
"addressbook.proto",
"main.cpp",
]
}
|