aboutsummaryrefslogtreecommitdiff
path: root/smolbote.qbs
diff options
context:
space:
mode:
Diffstat (limited to 'smolbote.qbs')
-rw-r--r--smolbote.qbs16
1 files changed, 6 insertions, 10 deletions
diff --git a/smolbote.qbs b/smolbote.qbs
index 4d538eb..5ad9008 100644
--- a/smolbote.qbs
+++ b/smolbote.qbs
@@ -37,17 +37,12 @@ Project {
}
}
- // Platform-specifics go like this
-// Properties {
-// condition: qbs.targetOS.contains("windows")
-// }
-
cpp.includePaths: ['src', 'src/3rd-party']
cpp.defines: {
if(project.deprecatedWarnings)
defines.push("QT_DEPRECATED_WARNINGS", "QT_DISABLE_DEPRECATED_BEFORE="+project.deprecatedBefore);
if(git.found)
- defines.push('VERSION="'+git.version+'"');
+ defines.push('VERSION="'+git.version+'"', 'DESCRIBE="'+git.describe+'"');
return defines;
}
Depends { name: "Qt"; submodules: ["core", "widgets", "webengine", "webenginewidgets"] }
@@ -100,19 +95,20 @@ Project {
"src/xbel/xbel.h",
]
- // Properties for the produced executable
Group {
- fileTagsFilter: product.type // filter selects produced executable
- qbs.install: true // install it
+ name: "Executable"
+ fileTagsFilter: product.type
+ qbs.install: true
+ qbs.installDir: "bin"
}
- // config
Group {
name: "Configuration"
files: [
"data/poi.conf"
]
qbs.install: true
+ qbs.installDir: "share/smolbote"
}
}
}