From cf05a72ce5a0393f5471eeac67b2db35a13990a0 Mon Sep 17 00:00:00 2001 From: Jérôme Leclercq Date: Wed, 2 Jun 2021 10:39:48 +0200 Subject: Move vsxmake autofile dependfile to builddir --- xmake/rules/plugin/vsxmake/xmake.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xmake/rules/plugin/vsxmake/xmake.lua b/xmake/rules/plugin/vsxmake/xmake.lua index 61e79dfa4..88693599f 100644 --- a/xmake/rules/plugin/vsxmake/xmake.lua +++ b/xmake/rules/plugin/vsxmake/xmake.lua @@ -32,12 +32,13 @@ rule("plugin.vsxmake.autoupdate") after_build(function (opt) -- imports + import("core.project.config") import("core.project.depend") import("core.project.project") import("core.base.task") -- run only once for all xmake process in vs - local tmpfile = path.join(os.projectdir(), ".xmake", "plugin.vsxmake.autoupdate") + local tmpfile = path.join(config.buildir(), ".gens", "rules", "plugin.vsxmake.autoupdate") local dependfile = tmpfile .. ".d" local lockfile = io.openlock(tmpfile .. ".lock") if lockfile:trylock() then @@ -59,4 +60,3 @@ rule("plugin.vsxmake.autoupdate") lockfile:close() end end) - -- cgit v1.3.1