aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/blackbox/testdata/generate-linker-map-file/generate-linker-map-file.qbs
blob: 815e648534f67646addb81e0c3115d24753b7d72 (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
Project {
    CppApplication {
        name: "app-map"
        files: ["main.cpp"]
        cpp.generateLinkerMapFile: true
    }
    CppApplication {
        name: "app-nomap"
        files: ["main.cpp"]
        cpp.generateLinkerMapFile: false
    }
    CppApplication {
        name: "app-nomap-default"
        files: ["main.cpp"]
    }

    Probe {
        id: toolchainProbe
        property bool isUsed: qbs.toolchain.contains("msvc")
            || qbs.toolchain.contains("gcc")
        configure: {
            console.info("use test: " + isUsed);
        }
    }
}