diff options
| author | ruki <[email protected]> | 2022-11-05 22:38:41 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2022-11-05 22:38:41 +0800 |
| commit | a85446ea72cf86fe66a511fc4f8a502a5ce7d75d (patch) | |
| tree | 5c806cfca415137f9c9a5d8e5585a0dd8a1f3737 /xmake/core/project/target.lua | |
| parent | dd4684deff6e6208db83b41980f6cb4b04ea4d0b (diff) | |
improve comments
Diffstat (limited to 'xmake/core/project/target.lua')
| -rw-r--r-- | xmake/core/project/target.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xmake/core/project/target.lua b/xmake/core/project/target.lua index 8e9e62ff4..729f137b4 100644 --- a/xmake/core/project/target.lua +++ b/xmake/core/project/target.lua @@ -1143,6 +1143,7 @@ function _instance:autogenfile(sourcefile, opt) if path.is_absolute(relativedir) and os.host() == "windows" then -- remove C:\\ and whitespaces -- e.g. C:\\Program Files (x64)\\xxx\Windows.h + -- @see https://github.com/xmake-io/xmake/issues/3021 relativedir = hash.uuid4(relativedir):gsub("%-", ""):lower() end relativedir = relativedir:gsub("%.%.", "__") |
