diff options
| author | ruki <[email protected]> | 2021-03-31 11:35:06 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-03-31 11:35:06 +0800 |
| commit | f7567574c955e34bf20f5e311241fc0f3b3c72d5 (patch) | |
| tree | 55d0c6f47a6b1c4fef43542588295aa6c71add53 | |
| parent | 4940fa6a0967b3e4840eeefb057cff2ffd3d7e7b (diff) | |
| parent | 601752bff01bf632b179e35c367fc386de755907 (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.lua | 2 |
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 () |
