summaryrefslogtreecommitdiffstats
path: root/perfparser.qbs
blob: 1f6c05ea645c85be676fe8438cfee6a52150cc88 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
import qbs.Environment
import qbs.FileInfo

Project {
    name: "Perf Parser"
    condition: qbs.targetOS.contains("linux")

    property bool withAutotests: qbs.buildVariant === "debug"

    property string installBase: Environment.getEnv("ELFUTILS_INSTALL_DIR")
    property stringList includePaths: installBase
        ? [FileInfo.joinPaths(installBase, "include"),
           FileInfo.joinPaths(installBase, "include", "elfutils")]
        : "/usr/include/elfutils"
    property stringList libPaths: installBase ? [FileInfo.joinPaths(installBase, "lib")] : []

    references: [
        "app",
        "tests",
    ]
}