aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/blackbox/testdata/autotest-with-dependencies/autotest-with-dependencies.qbs
blob: 92d5ec6ddab2396e0e8d8bf072f4bb5c3c38bcff (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
25
26
27
import qbs.FileInfo

Project {
    CppApplication {
        name: "helper-app"
        type: ["application", "test-helper"]
        consoleApplication: true
        install: true
        files: "helper-main.cpp"
        cpp.executableSuffix: ".exe"
        Group {
            fileTagsFilter: "application"
            fileTags: "test-helper"
        }
    }
    CppApplication {
        name: "test-app"
        type: ["application", "autotest"]
        Depends { name: "autotest" }
        files: "test-main.cpp"
    }

    AutotestRunner {
        arguments: FileInfo.joinPaths(qbs.installRoot, qbs.installPrefix, "bin")
        auxiliaryInputs: "test-helper"
    }
}