aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/blackbox/testdata-windows/innosetup/innosetup.qbs
blob: 718dec6f54fca141d3f98101b64b4933df96b380 (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
import qbs.FileInfo

Project {
    InnoSetup {
        property bool _test: {
            var present = qbs.targetOS.contains("windows") && innosetup.present;
            console.info("has innosetup: " + present);
        }

        name: "QbsSetup"
        targetName: "qbs.setup.test"
        version: "1.5"
        files: [
            "test.iss"
        ]
        innosetup.verboseOutput: true
        innosetup.includePaths: ["inc"]
        innosetup.defines: ["MyProgram=" + name, "MyProgramVersion=" + version]
        innosetup.compilerFlags: ["/V9"]
    }
    InnoSetup {
        name: "Example1"
        files: [FileInfo.joinPaths(innosetup.toolchainInstallPath, "Examples", name + ".iss")]
    }
}