summaryrefslogtreecommitdiff
path: root/tests/auto/blackbox/testdata/path-probe/candidate-filter.qbs
blob: c40f22736124a342e68848043a33ac0a8158e08e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
import qbs.FileInfo

BaseApp {
    inputNames: ["tool.1", "tool.2"]
    inputSearchPaths: "bin"
    inputCandidateFilter: {
        return function(f) {
            return FileInfo.fileName(f) == "tool.2";
        }
    }
    outputFilePaths: ["bin/tool.2"]
    outputCandidatePaths: [["bin/tool.1", "bin/tool.2"]]
}