diff options
| author | ruki <[email protected]> | 2025-09-07 22:03:37 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2025-09-07 22:03:37 +0800 |
| commit | a6ba93f895b4b2128c3b310bea24c072e9d3a702 (patch) | |
| tree | 272e52220afa3ee7d6a98632be4897954c031ad1 /xmake/plugins | |
| parent | 341a067561a88e0e5fbb01862d150173c01d8ee8 (diff) | |
optimize to save toolchain cache
Diffstat (limited to 'xmake/plugins')
| -rw-r--r-- | xmake/plugins/project/vsxmake/getinfo.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/xmake/plugins/project/vsxmake/getinfo.lua b/xmake/plugins/project/vsxmake/getinfo.lua index 613a41404..08c10ca60 100644 --- a/xmake/plugins/project/vsxmake/getinfo.lua +++ b/xmake/plugins/project/vsxmake/getinfo.lua @@ -22,6 +22,7 @@ import("core.base.option") import("core.base.semver") import("core.base.hashset") +import("core.tool.toolchain") import("core.project.config") import("core.project.project") import("core.platform.platform") @@ -484,6 +485,9 @@ function main(outputdir, vsinfo) -- update config files generate_configfiles() + -- save toolchain configs + toolchain.save() + -- ensure to enter project directory os.cd(project.directory()) |
