diff options
| author | ruki <[email protected]> | 2020-12-22 00:48:16 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-12-22 00:48:16 +0800 |
| commit | 4782a9648e20c0e6a4620f7255ab3cb476dceb5e (patch) | |
| tree | b28369f767800262db24da6b347d62acf8ffad33 /xmake/plugins/project | |
| parent | 192f10c1d09e665f04dd5669fcaccc5abccbb9db (diff) | |
rewrite some caches
Diffstat (limited to 'xmake/plugins/project')
| -rw-r--r-- | xmake/plugins/project/vsxmake/getinfo.lua | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/xmake/plugins/project/vsxmake/getinfo.lua b/xmake/plugins/project/vsxmake/getinfo.lua index dd5ed48fe..4c78016c9 100644 --- a/xmake/plugins/project/vsxmake/getinfo.lua +++ b/xmake/plugins/project/vsxmake/getinfo.lua @@ -23,8 +23,8 @@ import("core.base.option") import("core.base.semver") import("core.base.hashset") import("core.project.config") -import("core.project.cache") import("core.project.project") +import("core.cache.configcache") import("core.platform.platform") import("core.tool.compiler") import("core.tool.linker") @@ -155,7 +155,6 @@ function _make_targetinfo(mode, arch, target) if targetinfo.languages:find("c++17", 1, true) or targetinfo.languages:find("cxx17", 1, true) then targetinfo.cxxlanguage = "stdcpp17" end - 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" and k ~= "buildir" then |
