diff options
| author | ruki <[email protected]> | 2020-10-05 23:25:26 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-10-05 23:25:26 +0800 |
| commit | 7cb4cd4a4d4f29b722d611bef4b0d9a2d9e12109 (patch) | |
| tree | a1c82c81330dce99a623b561840a4b998a19764e /xmake/modules/core/project/depend.lua | |
| parent | 5fb2bcc38583f830e064082024212c061f055b99 (diff) | |
add project.tmpdir
Diffstat (limited to 'xmake/modules/core/project/depend.lua')
| -rw-r--r-- | xmake/modules/core/project/depend.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xmake/modules/core/project/depend.lua b/xmake/modules/core/project/depend.lua index cdc0a25f7..c10506c6f 100644 --- a/xmake/modules/core/project/depend.lua +++ b/xmake/modules/core/project/depend.lua @@ -20,6 +20,7 @@ -- imports import("core.base.option") +import("core.project.project") import("private.tools.cl.parse_deps", {alias = "parse_deps_cl"}) import("private.tools.cl.parse_deps_json", {alias = "parse_deps_cl_json"}) import("private.tools.rc.parse_deps", {alias = "parse_deps_rc"}) @@ -160,7 +161,7 @@ function on_changed(callback, opt) -- get dependfile local dependfile = opt.dependfile if not dependfile then - dependfile = os.tmpfile(table.concat(table.wrap(opt.files), "")) + dependfile = project.tmpfile(table.concat(table.wrap(opt.files), "")) end -- load dependent info |
