summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOpportunity <[email protected]>2019-08-15 15:54:50 +0800
committerGitHub <[email protected]>2019-08-15 15:54:50 +0800
commit4f2e25226853830f157a2da79097c527030d42b4 (patch)
tree6b87b3c09428c9f5ed77e352c0dc93c3e68d32d6
parent4ebfcf74528347f5a61bbee585c7abb6dd9e40ea (diff)
Update getinfo.lua
-rw-r--r--xmake/plugins/project/vsxmake/getinfo.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/plugins/project/vsxmake/getinfo.lua b/xmake/plugins/project/vsxmake/getinfo.lua
index d0b34fc7e..0ee2605c3 100644
--- a/xmake/plugins/project/vsxmake/getinfo.lua
+++ b/xmake/plugins/project/vsxmake/getinfo.lua
@@ -167,7 +167,7 @@ function _make_targetinfo(mode, arch, target)
local configcache = cache("local.config")
local flags = {}
for k, v in pairs(configcache:get("options_" .. target:name())) do
- if k ~= "plat" and k ~= "mode" and k ~= "arch" and k ~= "clean" then
+ if k ~= "plat" and k ~= "mode" and k ~= "arch" and k ~= "clean" and k ~= "buildir" then
table.insert(flags, "--" .. k .. "=" .. tostring(v));
end
end