summaryrefslogtreecommitdiff
path: root/xmake/rules/plugin/vsxmake/xmake.lua
diff options
context:
space:
mode:
authorJérôme Leclercq <[email protected]>2021-03-30 16:55:18 +0200
committerGitHub <[email protected]>2021-03-30 16:55:18 +0200
commit3639036268e8dace3f62181830510034b858d453 (patch)
tree55921062e9899355096c1519208133905acb4a97 /xmake/rules/plugin/vsxmake/xmake.lua
parent56f568d355131c3408fee3edfbf55b4c1ecc39b8 (diff)
Make vsxmake.autoupdate autoupdate with header files as well
Diffstat (limited to 'xmake/rules/plugin/vsxmake/xmake.lua')
-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..5da644be4 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:headerfiles(), target:sourcefiles())
end
table.sort(sourcefiles)
depend.on_changed(function ()