diff options
author | Aqua-sama <aqua@iserlohn-fortress.net> | 2017-03-19 14:33:07 +0100 |
---|---|---|
committer | Aqua-sama <aqua@iserlohn-fortress.net> | 2017-03-19 14:33:07 +0100 |
commit | 5b72a6b5787a360e36d137fe2d52f47be926a588 (patch) | |
tree | 935a36f13e6287ca5492a1e172e1cf287eccb501 /smolbote.qbs | |
parent | Blocker rewrites (diff) | |
download | smolbote-5b72a6b5787a360e36d137fe2d52f47be926a588.tar.xz |
Added build script
Additional locations are searched for configuration
Diffstat (limited to 'smolbote.qbs')
-rw-r--r-- | smolbote.qbs | 16 |
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" } } } |