summaryrefslogtreecommitdiff
path: root/tests/auto/blackbox/testdata/command-file/command-file.qbs
blob: 8e25221c5d330b6bdae813f9c95c678149f0cbf3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Project {
    StaticLibrary {
        name: "theLib"
        destinationDirectory: project.buildDirectory
        Depends { name: "cpp" }
        Properties {
            condition: qbs.targetOS.contains("darwin")
            bundle.isBundle: false
        }
        files: ["lib.cpp"]
    }
    CppApplication {
        name: "theApp"
        cpp.libraryPaths: project.buildDirectory
        files: ["main.cpp"]
        cpp.staticLibraries: ['@' + sourceDirectory + '/'
                + (qbs.toolchain.contains("msvc") ? "list.msvc" : "list.gcc")]
    }
}