aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/blackbox/testdata/ld/ld.qbs
blob: 25fede1b08bacdba06180bed3dcb3eb975b92c87 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Project {
    Library {
        Depends { name: "cpp" }
        name: "coreutils"
        targetName: "qbs can handle any file paths, even the crazy ones! ;)"
        files: ["coreutils.cpp", "coreutils.h"]
        Properties {
            condition: qbs.targetOS.contains("darwin")
            bundle.isBundle: false
            cpp.sonamePrefix: "@rpath"
        }

        Group {
            fileTagsFilter: product.type
            qbs.install: true
        }
    }

    CppApplication {
        Depends { name: "coreutils" }
        files: ["main.cpp"]
    }
}