-
Bug
-
Resolution: Done
-
P1: Critical
-
1.7.0
-
None
-
2bc9373d7b4bf54ecac4c9ea63453d549b2a0dad
It is impossible to use both "debuginfo" and "dynamiclibrary" on a Rule input.
Example :
Rule {
inputs: ['dynamiclibrary','debuginfo']
Artifact {
filePath: product.installDir+"/"+input.fileName
}
prepare: {
var cmd = new JavaScriptCommand();
cmd.sourceFile = input.filePath
cmd.targetFile = output.filePath
cmd.description = "Copying '" + cmd.sourceFile + "' to '" + cmd.targetFile + "'.";
cmd.highlight = "codegen";
cmd.sourceCode = function() {
File.copy(sourceFile, targetFile);
}
return(cmd)
}
}
Generates the following error :
:-1: erreur : Conflicting rules for producing D:/path/build-toolsplugin-Release/qtc_Qt_5_7_0_b48a8df6-release/project.qtc-Qt-5-7-0-b48a8df6.88d1d133/project.pdb [debuginfo]
while trying to apply: C:/QtEnterprise/Tools/QtCreator/share/qtcreator/qbs/share/qbs/modules/cpp/windows-msvc.qbs:198:18 [obj] -> [debuginfo]
was already defined in: C:/QtEnterprise/Tools/QtCreator/share/qtcreator/qbs/share/qbs/modules/cpp/windows-msvc.qbs:234:18 [obj] -> [debuginfo]
| For Gerrit Dashboard: QBS-1089 | ||||||
|---|---|---|---|---|---|---|
| # | Subject | Branch | Project | Status | CR | V |
| 181095,4 | Use different tags for debug info created by different rules | 1.7 | qbs/qbs | Status: MERGED | +2 | 0 |