From 3a67bb31f2d96a9f05804cc6acebd0cbb24790eb Mon Sep 17 00:00:00 2001 From: ruki Date: Sun, 27 Dec 2020 19:36:43 +0800 Subject: improve autoupdate rule --- xmake/rules/plugin/vsxmake/xmake.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'xmake/rules/plugin') diff --git a/xmake/rules/plugin/vsxmake/xmake.lua b/xmake/rules/plugin/vsxmake/xmake.lua index a2375bd16..323ffb5dd 100644 --- a/xmake/rules/plugin/vsxmake/xmake.lua +++ b/xmake/rules/plugin/vsxmake/xmake.lua @@ -45,7 +45,9 @@ rule("plugin.vsxmake.autoupdate") print("update vsxmake project ..") task.run("project", {kind = "vsxmake"}) print("update vsxmake project ok") - end, {dependfile = tmpfile .. ".d", files = project.allfiles()}) + end, {dependfile = tmpfile .. ".d", + files = project.allfiles(), + values = target:sourcefiles()}) end lockfile:close() end -- cgit v1.3.1