diff options
Diffstat (limited to 'perfparser.qbs')
-rw-r--r-- | perfparser.qbs | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/perfparser.qbs b/perfparser.qbs index 7b141e7..1f6c05e 100644 --- a/perfparser.qbs +++ b/perfparser.qbs @@ -1,4 +1,5 @@ -import qbs +import qbs.Environment +import qbs.FileInfo Project { name: "Perf Parser" @@ -6,6 +7,13 @@ Project { 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", |