blob: 30c1d244a46943cc7043f72d4e17928fe14ce6a5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
import qbs
import qbs.File
import qbs.FileInfo
import qbs.Probes
import "protobuf.js" as HelperFunctions
Module {
property string compilerName: "protoc"
property string compilerPath: compilerProbe.filePath
property pathList importPaths: []
readonly property string outputDir: product.buildDirectory + "/protobuf"
FileTagger {
patterns: ["*.proto"]
fileTags: ["protobuf.input"]
}
Probes.BinaryProbe {
id: compilerProbe
names: [compilerName]
}
}
|