aboutsummaryrefslogtreecommitdiffstats
path: root/share/qbs/modules/cpp/GenericGCC.qbs
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@qt.io>2017-01-02 13:46:09 +0100
committerChristian Kandeler <christian.kandeler@qt.io>2017-01-02 14:09:00 +0000
commit2bc9373d7b4bf54ecac4c9ea63453d549b2a0dad (patch)
treed5d894d29e5b310f0c10794cdebdbda576d98142 /share/qbs/modules/cpp/GenericGCC.qbs
parent7139eb6cc0b59b7546b0ac8b90de1eadb54f78fb (diff)
Use different tags for debug info created by different rules
Otherwise, rule conflicts occur when users try to process the "debuginfo" artifacts further. Task-number: QBS-1089 Change-Id: I70141cfbf2a966ab0414cbabab5e4785fd4a96c6 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'share/qbs/modules/cpp/GenericGCC.qbs')
-rw-r--r--share/qbs/modules/cpp/GenericGCC.qbs14
1 files changed, 8 insertions, 6 deletions
diff --git a/share/qbs/modules/cpp/GenericGCC.qbs b/share/qbs/modules/cpp/GenericGCC.qbs
index 0ad21fa96..dbb95ebdf 100644
--- a/share/qbs/modules/cpp/GenericGCC.qbs
+++ b/share/qbs/modules/cpp/GenericGCC.qbs
@@ -268,7 +268,9 @@ CppModule {
}
inputsFromDependencies: ["dynamiclibrary_copy", "staticlibrary"]
- outputFileTags: ["dynamiclibrary", "dynamiclibrary_symlink", "dynamiclibrary_copy", "debuginfo"]
+ outputFileTags: [
+ "dynamiclibrary", "dynamiclibrary_symlink", "dynamiclibrary_copy", "debuginfo_dll"
+ ]
outputArtifacts: {
var lib = {
filePath: product.destinationDirectory + "/"
@@ -297,7 +299,7 @@ CppModule {
artifacts.push(symlink);
}
}
- return artifacts.concat(Gcc.debugInfoArtifacts(product));
+ return artifacts.concat(Gcc.debugInfoArtifacts(product, "dll"));
}
prepare: {
@@ -375,14 +377,14 @@ CppModule {
}
inputsFromDependencies: ["dynamiclibrary_copy", "staticlibrary"]
- outputFileTags: ["loadablemodule", "debuginfo"]
+ outputFileTags: ["loadablemodule", "debuginfo_loadablemodule"]
outputArtifacts: {
var app = {
filePath: FileInfo.joinPaths(product.destinationDirectory,
PathTools.loadableModuleFilePath(product)),
fileTags: ["loadablemodule"]
}
- return [app].concat(Gcc.debugInfoArtifacts(product));
+ return [app].concat(Gcc.debugInfoArtifacts(product, "loadablemodule"));
}
prepare: {
@@ -403,14 +405,14 @@ CppModule {
}
inputsFromDependencies: ["dynamiclibrary_copy", "staticlibrary"]
- outputFileTags: ["application", "debuginfo"]
+ outputFileTags: ["application", "debuginfo_app"]
outputArtifacts: {
var app = {
filePath: FileInfo.joinPaths(product.destinationDirectory,
PathTools.applicationFilePath(product)),
fileTags: ["application"]
}
- return [app].concat(Gcc.debugInfoArtifacts(product));
+ return [app].concat(Gcc.debugInfoArtifacts(product, "app"));
}
prepare: {