summaryrefslogtreecommitdiff
path: root/xmake/rules/plugin
diff options
context:
space:
mode:
authorJérôme Leclercq <[email protected]>2021-06-02 10:39:48 +0200
committerJérôme Leclercq <[email protected]>2021-06-02 11:15:48 +0200
commitcf05a72ce5a0393f5471eeac67b2db35a13990a0 (patch)
tree8d0c175bbbf677e6bf40f8b0aa3761f908c5ea47 /xmake/rules/plugin
parentd16cdc10394f85540b833bb1bd541479e504197e (diff)
Move vsxmake autofile dependfile to builddir
Diffstat (limited to 'xmake/rules/plugin')
-rw-r--r--xmake/rules/plugin/vsxmake/xmake.lua4
1 files 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)
-