diff options
| -rw-r--r-- | xmake/rules/plugin/vsxmake/xmake.lua | 4 |
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) - |
