diff options
Diffstat (limited to 'xmake/modules/core/tools/cl.lua')
| -rw-r--r-- | xmake/modules/core/tools/cl.lua | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/xmake/modules/core/tools/cl.lua b/xmake/modules/core/tools/cl.lua index dab766482..8a2971328 100644 --- a/xmake/modules/core/tools/cl.lua +++ b/xmake/modules/core/tools/cl.lua @@ -778,10 +778,12 @@ function compile(self, sourcefile, objectfile, dependinfo, flags, opt) -- generate the dependent includes if dependinfo then if depfile and os.isfile(depfile) then - dependinfo.depfiles_cl_json = io.readfile(depfile) + dependinfo.depfiles_format = "cl_json" + dependinfo.depfiles = io.readfile(depfile) os.tryrm(depfile) elseif outdata then - dependinfo.depfiles_cl = outdata + dependinfo.depfiles_format = "cl" + dependinfo.depfiles = outdata end end end |
