summaryrefslogtreecommitdiff
path: root/xmake/plugins/project/vstudio/impl/vs201x.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2021-01-19 00:58:16 +0800
committerruki <[email protected]>2021-01-19 00:58:16 +0800
commit576784050e14cd1eed1ab9284399e2731a885335 (patch)
tree96dcf4a16780bf698307b25aee36dc8b01722832 /xmake/plugins/project/vstudio/impl/vs201x.lua
parentfbaadb6a0f41d29dd14afb3910e2ff9be3719e04 (diff)
improve vs/vsxmake
Diffstat (limited to 'xmake/plugins/project/vstudio/impl/vs201x.lua')
-rw-r--r--xmake/plugins/project/vstudio/impl/vs201x.lua10
1 files changed, 10 insertions, 0 deletions
diff --git a/xmake/plugins/project/vstudio/impl/vs201x.lua b/xmake/plugins/project/vstudio/impl/vs201x.lua
index 8980d0449..e02fd5dec 100644
--- a/xmake/plugins/project/vstudio/impl/vs201x.lua
+++ b/xmake/plugins/project/vstudio/impl/vs201x.lua
@@ -308,6 +308,16 @@ function make(outputdir, vsinfo)
vs201x_vcxproj_filters.make(vsinfo, target)
end
+ -- clear config and local cache
+ config.clear()
+ config.save()
+ localcache.clear("config")
+ localcache.clear("detect")
+ localcache.clear("option")
+ localcache.clear("package")
+ localcache.clear("toolchain")
+ localcache.save()
+
-- leave project directory
os.cd(oldir)
end