aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/blackbox/testdata/path-list-in-probe/path-list-in-probe.qbs
blob: 3bf36367a6f5983905630a281e46162e82d48090 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Project {
  CppApplication {
    Probe {
        id: theProbe
        property pathList result
        configure: {
            result = ["main.cpp"]
            found = true
        }
    }
    property pathList res: theProbe.found ? theProbe.result : []

    Group {
        name: "files"
        files: res
    }
  }
}