aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/blackbox/testdata/linker-module-definition/linker-module-definition.qbs
blob: 7425cdca584ea8be9114f6eab4f919a79eb0abdf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Project {
    condition: {
        var result = qbs.targetPlatform === qbs.hostPlatform;
        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"]
    }
}