diff options
| author | ruki <[email protected]> | 2025-06-10 00:51:25 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2025-06-10 00:51:25 +0800 |
| commit | 0504e8430a4d76ccda856087489d25085a863387 (patch) | |
| tree | 10da1728f47e1b91d81b7b1bd815f03a05da9193 /xmake/plugins/project/vstudio/impl/vsutils.lua | |
| parent | 773407f7df280a5fc50d2aa6419875297e711bb2 (diff) | |
translate file path for vsxmake
Diffstat (limited to 'xmake/plugins/project/vstudio/impl/vsutils.lua')
| -rw-r--r-- | xmake/plugins/project/vstudio/impl/vsutils.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/xmake/plugins/project/vstudio/impl/vsutils.lua b/xmake/plugins/project/vstudio/impl/vsutils.lua index 9abf7a7b9..af184b536 100644 --- a/xmake/plugins/project/vstudio/impl/vsutils.lua +++ b/xmake/plugins/project/vstudio/impl/vsutils.lua @@ -52,3 +52,7 @@ function vsarch(arch) return arch end +-- translate file path (with namespace characters '::', it's invalid path characters on windows) +function translate_path(filepath) + return (filepath:gsub("::", "_")) +end |
