summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2021-03-31 11:35:06 +0800
committerGitHub <[email protected]>2021-03-31 11:35:06 +0800
commitf7567574c955e34bf20f5e311241fc0f3b3c72d5 (patch)
tree55d0c6f47a6b1c4fef43542588295aa6c71add53
parent4940fa6a0967b3e4840eeefb057cff2ffd3d7e7b (diff)
parent601752bff01bf632b179e35c367fc386de755907 (diff)
Merge pull request #1312 from SirLynix/patch-2
Make vsxmake.autoupdate autoupdate with header files as well
-rw-r--r--xmake/rules/plugin/vsxmake/xmake.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/rules/plugin/vsxmake/xmake.lua b/xmake/rules/plugin/vsxmake/xmake.lua
index c1e9506ce..1821e5dfb 100644
--- a/xmake/rules/plugin/vsxmake/xmake.lua
+++ b/xmake/rules/plugin/vsxmake/xmake.lua
@@ -44,7 +44,7 @@ rule("plugin.vsxmake.autoupdate")
if os.getenv("XMAKE_IN_VSTUDIO") then
local sourcefiles = {}
for _, target in pairs(project.targets()) do
- table.join2(sourcefiles, (target:sourcefiles()))
+ table.join2(sourcefiles, target:sourcefiles(), target:headerfiles())
end
table.sort(sourcefiles)
depend.on_changed(function ()