Commit f0c22215 authored by Joerg Bornemann's avatar Joerg Bornemann
Browse files

fix mc rule in mdnssd.qbs



Change-Id: I051276a8f5d566b4ddf04cbd7a045e1311cc916b
Reviewed-by: default avatarChristian Kandeler <christian.kandeler@nokia.com>
Reviewed-by: default avatarJoerg Bornemann <joerg.bornemann@nokia.com>
parent b711b69f
import qbs.base 1.0 import qbs.base 1.0
import qbs.fileinfo 1.0 as FileInfo
import "../QtcTool.qbs" as QtcTool import "../QtcTool.qbs" as QtcTool
QtcTool { QtcTool {
...@@ -99,14 +100,19 @@ QtcTool { ...@@ -99,14 +100,19 @@ QtcTool {
Rule { Rule {
inputs: "mc" inputs: "mc"
Artifact { Artifact {
fileName: input.baseName + ".h" fileName: product.name + "/" + input.baseName + ".h"
fileTags: "hpp" fileTags: "hpp"
} }
Artifact {
fileName: product.name + "/" + input.baseName + ".rc"
fileTags: "mc_result"
}
prepare: { prepare: {
var cmd = new Command("mc", input.fileName) var cmd = new Command("mc", input.fileName);
cmd.description = "mc" cmd.workingDirectory = FileInfo.path(outputs["mc_result"][0].fileName);
return cmd cmd.description = "mc " + FileInfo.fileName(input.fileName);
return cmd;
} }
} }
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment