QtcTool.qbs 505 Bytes
Newer Older
1 2 3
import qbs.base 1.0

Application {
4
    type: "application" // no Mac app bundle
5
    Depends { name: "cpp" }
6
    cpp.defines: project.generalDefines
7
    cpp.linkerFlags: {
8
        if (qbs.buildVariant == "release" && (qbs.toolchain.contains("gcc") || qbs.toolchain.contains("mingw")))
9 10 11
            return ["-Wl,-s"]
    }

12 13
    property string toolInstallDir: project.ide_libexec_path

14 15 16
    Group {
        fileTagsFilter: product.type
        qbs.install: true
17
        qbs.installDir: toolInstallDir
18
    }
19
}