add customtoolnamespace

This commit is contained in:
tbasnoopy 2015-06-25 11:34:46 +02:00
parent cab15e8277
commit 26326835c9
2 changed files with 9 additions and 0 deletions

View File

@ -946,6 +946,12 @@
end,
}
api.register {
name = "customtoolnamespace",
scope = "config",
kind = "string",
}
api.register {
name = "undefines",
scope = "config",

View File

@ -182,6 +182,9 @@
if #contents > 0 then
_p("%s", contents)
end
if info.action == "EmbeddedResource" and cfg.customtoolnamespace then
_p(3,"<CustomToolNamespace>%s</CustomToolNamespace>", cfg.customtoolnamespace)
end
_p(2,'</%s>', info.action)
else
_p(2,'<%s Include="%s" />', info.action, fname)