aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/blackbox/testdata/linker-module-definition/linker-module-definition.qbs
blob: cae80e6513c43222f141cdfdfbf047bbc858b233 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import qbs.Host

Project {
    condition: {
        var result = qbs.targetPlatform === Host.platform();
        if (!result)
            console.info("targetPlatform differs from hostPlatform");
        return result;
    }
    DynamicLibrary {
        name: "testlib"
        Depends { name: "cpp"}
        files: ["testlib.cpp", "testlib.def"]
    }
    CppApplication {
        name: "testapp"
        Depends { name: "testlib"}
        files: ["testapp.cpp"]
    }
}