diff options
| author | Jérôme Leclercq <[email protected]> | 2021-06-02 10:39:48 +0200 |
|---|---|---|
| committer | Jérôme Leclercq <[email protected]> | 2021-06-02 11:15:48 +0200 |
| commit | cf05a72ce5a0393f5471eeac67b2db35a13990a0 (patch) | |
| tree | 8d0c175bbbf677e6bf40f8b0aa3761f908c5ea47 /xmake/rules/plugin | |
| parent | d16cdc10394f85540b833bb1bd541479e504197e (diff) | |
Move vsxmake autofile dependfile to builddir
Diffstat (limited to 'xmake/rules/plugin')
| -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) - |
