diff --git a/bug491.qbs b/bug491.qbs index 22b67fa..c080620 100644 --- a/bug491.qbs +++ b/bug491.qbs @@ -7,7 +7,7 @@ Project { type: "application" consoleApplication: true files: "tool.c" - + destinationDirectory: "tool" } Application { @@ -19,17 +19,18 @@ Project { consoleApplication: true files: "main.c" Group { files: "header.h.in" fileTags: ["h_in"] } Rule { + multiplex: true inputs: [ "h_in" ] usings: ["application"] Artifact { - fileName: product.buildDirectory + "/tool/" + FileInfo.baseName(input.fileName) + ".h" + fileName: product.buildDirectory + "/tool/" + FileInfo.baseName(inputs.h_in[0].filePath) + ".h" fileTags: ["hpp"] } prepare: {