diff options
| author | ruki <[email protected]> | 2020-12-27 19:36:43 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-12-27 19:36:48 +0800 |
| commit | 3a67bb31f2d96a9f05804cc6acebd0cbb24790eb (patch) | |
| tree | 6857e3dd296d326f4f1b28ae3b8ea4286dc92d82 | |
| parent | 902f64bb0e83c683dcfe4582b29cea44a9e67b8f (diff) | |
improve autoupdate rule
| -rw-r--r-- | xmake/rules/plugin/vsxmake/xmake.lua | 4 |
1 files changed, 3 insertions, 1 deletions
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 |
