aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/api/testdata/project-with-probe-and-profile-item/project-with-probe-and-profile-item.qbs
blob: d7dc02cc2c5189057f901775088cd371031d049f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Project {

    property bool probesEvaluated: probe.found

    Probe {
        id: probe
        configure: {
            found = true;
        }
    }

    Profile {
        name: "the-profile"
        cpp.includePaths: {
            if (!probesEvaluated)
                throw "project-level probes not evaluated";
        }
    }
}