aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/blackbox/testdata/install-locations/install-locations.qbs
blob: 994b4b1467443a13f2cba6c0797f0746d55b9457 (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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
Project {
    property bool dummy: {
        if (qbs.targetOS.contains("windows")) {
            console.info("is windows");
        } else if (qbs.targetOS.contains("darwin")) {
            console.info("is darwin");
            if (qbs.targetOS.contains("macos"))
                console.info("is mac");
        } else {
            console.info("is unix");
        }

        if (qbs.toolchain.contains("mingw"))
            console.info("is mingw");
    }
    CppApplication {
        name: "theapp"
        install: true
        installDebugInformation: true
        files: "main.cpp"
        cpp.separateDebugInformation: true
        Group {
            fileTagsFilter: "application"
            fileTags: "some-tag"
        }
    }
    DynamicLibrary {
        name: "thelib"
        install: true
        installImportLib: true
        installDebugInformation: true
        Depends { name: "cpp" }
        cpp.separateDebugInformation: true
        files: "thelib.cpp"
    }
    LoadableModule {
        name: "theplugin"
        install: true
        installDebugInformation: true
        Depends { name: "cpp" }
        cpp.separateDebugInformation: true
        files: "theplugin.cpp"
    }
}