diff options
| author | ruki <[email protected]> | 2022-05-20 00:51:18 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2022-05-20 00:51:18 +0800 |
| commit | af2981b54c3334819b1aaa7666a5605dd70e329a (patch) | |
| tree | a112c57a6fc07f029ea11c0a6ee3846d84e4de29 /xmake/modules/core/tools/cl.lua | |
| parent | 9b58179ce2a9f0957b7eddad677bb63993f98d49 (diff) | |
improve cl
Diffstat (limited to 'xmake/modules/core/tools/cl.lua')
| -rw-r--r-- | xmake/modules/core/tools/cl.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/core/tools/cl.lua b/xmake/modules/core/tools/cl.lua index 75d9efed7..ca66ede29 100644 --- a/xmake/modules/core/tools/cl.lua +++ b/xmake/modules/core/tools/cl.lua @@ -618,7 +618,7 @@ function compile(self, sourcefile, objectfile, dependinfo, flags, opt) if dependinfo then if depfile and os.isfile(depfile) then dependinfo.depfiles_cl_json = io.readfile(depfile) - os.rm(depfile) + os.tryrm(depfile) elseif outdata then dependinfo.depfiles_cl = outdata end |
