summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 ()