diff options
| author | ruki <[email protected]> | 2023-09-22 22:54:09 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2023-09-22 22:54:09 +0800 |
| commit | 3d4343f0044601da7f331c4bf879969eb3bd9bf2 (patch) | |
| tree | 84449f0385aba07410ce010dd3738fd5af4b52e9 /xmake/modules/core/tools/gcc.lua | |
| parent | cb30d6458a236f498e6b6be917c9f653576577ca (diff) | |
improve to parse gcc deps with modules
Diffstat (limited to 'xmake/modules/core/tools/gcc.lua')
| -rw-r--r-- | xmake/modules/core/tools/gcc.lua | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/xmake/modules/core/tools/gcc.lua b/xmake/modules/core/tools/gcc.lua index 828380c15..93525848f 100644 --- a/xmake/modules/core/tools/gcc.lua +++ b/xmake/modules/core/tools/gcc.lua @@ -721,13 +721,6 @@ function _compargv_pch(self, pcheaderfile, pcoutputfile, flags) return self:program(), table.join("-c", pchflags, "-o", pcoutputfile, pcheaderfile) end --- get modules cache directory -function _modules_cachedir(target) - if target and target.autogendir and target:data("cxx.has_modules") then -- we need to ignore option instance - return path.join(target:autogendir(), "rules", "modules", "cache") - end -end - -- make the compile arguments list function compargv(self, sourcefile, objectfile, flags) -- precompiled header? @@ -831,7 +824,6 @@ function compile(self, sourcefile, objectfile, dependinfo, flags, opt) if depfile and os.isfile(depfile) then if dependinfo then dependinfo.depfiles_gcc = io.readfile(depfile, {continuation = "\\"}) - dependinfo.modules_cachedir = _modules_cachedir(opt.target) end -- remove the temporary dependent file |
