summaryrefslogtreecommitdiff
path: root/xmake/plugins
diff options
context:
space:
mode:
authorruki <[email protected]>2020-12-22 00:49:25 +0800
committerruki <[email protected]>2020-12-22 00:49:25 +0800
commitcd8b5cba53d9abba2852d1152b1bd51ed865685f (patch)
tree95acff80b9685b84497d01968dc0d704f2bdb70d /xmake/plugins
parenta0b13369ce0d586993f09a072aadd20690bb9b92 (diff)
remove configcache
Diffstat (limited to 'xmake/plugins')
-rw-r--r--xmake/plugins/project/vsxmake/getinfo.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/xmake/plugins/project/vsxmake/getinfo.lua b/xmake/plugins/project/vsxmake/getinfo.lua
index 4c78016c9..64a7be79b 100644
--- a/xmake/plugins/project/vsxmake/getinfo.lua
+++ b/xmake/plugins/project/vsxmake/getinfo.lua
@@ -24,7 +24,6 @@ import("core.base.semver")
import("core.base.hashset")
import("core.project.config")
import("core.project.project")
-import("core.cache.configcache")
import("core.platform.platform")
import("core.tool.compiler")
import("core.tool.linker")
@@ -156,7 +155,7 @@ function _make_targetinfo(mode, arch, target)
targetinfo.cxxlanguage = "stdcpp17"
end
local flags = {}
- for k, v in pairs(configcache:get("options_" .. target:name())) do
+ for k, v in pairs(localcache.get("config", "options_" .. target:name())) do
if k ~= "plat" and k ~= "mode" and k ~= "arch" and k ~= "clean" and k ~= "buildir" then
table.insert(flags, "--" .. k .. "=" .. tostring(v));
end