Merge pull request #130 from tbasnoopy/customtoolnamespace

add customtoolnamespace
This commit is contained in:
starkos 2015-07-05 12:23:18 -04:00
commit 080c78455a
2 changed files with 9 additions and 0 deletions

View File

@ -959,6 +959,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)