aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/blackbox/testdata-qt/no-relink-on-qdebug/symbols-test.qbs
blob: a614d96c4a1f8c1d9a2cd831688b711267ebc5a8 (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
Project {
    CppApplication {
        name: "app"
        Depends { name: "lib" }
        property bool dummy: {
            console.info("is GCC: " + qbs.toolchain.includes("gcc"));
            console.info("is MinGW: " + qbs.toolchain.includes("mingw"));
            console.info("is Darwin: " + qbs.targetOS.includes("darwin"));
        }
        files: "main.cpp"
    }

    DynamicLibrary {
        name: "lib"
        Depends { name: "Qt.core" }

        cpp.cxxLanguageVersion: "c++11"
        cpp.defines: "SYMBOLSTEST_LIBRARY"

        files: [
            "lib.cpp",
            "lib.h",
        ]

        Export { Depends { name: "Qt.core" } }
    }
}